Skip to content

Commit 3ced33c

Browse files
committed
ompi/dpm/dpm.c: Fix uninititalized variable
Squash compiler warning. Signed-off-by: Maxwell Coil <[email protected]>
1 parent cdf46e6 commit 3ced33c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/dpm/dpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ int ompi_dpm_connect_accept(ompi_communicator_t *comm, int root,
407407
}
408408
if (0 < opal_list_get_size(&ilist)) {
409409
uint32_t *peer_ranks = NULL;
410-
int prn, nprn;
410+
int prn, nprn = 0;
411411
char *val, *mycpuset;
412412
uint16_t u16;
413413
opal_process_name_t wildcard_rank;

0 commit comments

Comments
 (0)