Remove unused variable (Coverty fix 169).
This commit was SVN r19185.
Этот коммит содержится в:
родитель
23c2292478
Коммит
4f91b7806c
@ -123,13 +123,10 @@ mca_coll_basic_allgatherv_inter(void *sbuf, int scount,
|
|||||||
struct ompi_communicator_t *comm,
|
struct ompi_communicator_t *comm,
|
||||||
mca_coll_base_module_t *module)
|
mca_coll_base_module_t *module)
|
||||||
{
|
{
|
||||||
int size, rsize;
|
int rsize, err, i;
|
||||||
int err, i;
|
int *scounts = NULL, *sdisps = NULL;
|
||||||
int *scounts = NULL;
|
|
||||||
int *sdisps = NULL;
|
|
||||||
|
|
||||||
rsize = ompi_comm_remote_size(comm);
|
rsize = ompi_comm_remote_size(comm);
|
||||||
size = ompi_comm_size(comm);
|
|
||||||
|
|
||||||
scounts = (int *) malloc(rsize * sizeof(int));
|
scounts = (int *) malloc(rsize * sizeof(int));
|
||||||
sdisps = (int *) calloc(rsize, sizeof(int));
|
sdisps = (int *) calloc(rsize, sizeof(int));
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user