Skip to content

Commit 52241db

Browse files
committed
libnbc: fixed uninitialized variable
Squash compiler warning. Signed-off-by: Maxwell Coil <[email protected]>
1 parent 3ced33c commit 52241db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/libnbc/nbc_ialltoall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static int nbc_alltoall_init(const void* sendbuf, int sendcount, MPI_Datatype se
7070
enum {NBC_A2A_LINEAR, NBC_A2A_PAIRWISE, NBC_A2A_DISS, NBC_A2A_INPLACE} alg;
7171
void *tmpbuf = NULL;
7272
ompi_coll_libnbc_module_t *libnbc_module = (ompi_coll_libnbc_module_t*) module;
73-
ptrdiff_t span, gap;
73+
ptrdiff_t span, gap = 0;
7474

7575
NBC_IN_PLACE(sendbuf, recvbuf, inplace);
7676

0 commit comments

Comments
 (0)