Skip to content

Commit 4bfe98e

Browse files
committed
comm_cid: initialize remote_cid64
Clang warns about possible uninitialized use. Signed-off-by: Joseph Schuchart <[email protected]>
1 parent 2b56685 commit 4bfe98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/communicator/comm_cid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ int ompi_comm_get_remote_cid_from_pmix (ompi_communicator_t *comm, int dest, uin
10661066
pmix_value_t *val = NULL;
10671067
ompi_comm_extended_cid_t excid;
10681068
int rc = OMPI_SUCCESS;
1069-
size_t remote_cid64;
1069+
size_t remote_cid64 = 0;
10701070

10711071
assert(NULL != remote_cid);
10721072

0 commit comments

Comments
 (0)