Skip to content

Commit deb71ff

Browse files
authored
Merge pull request #10757 from rhc54/topic/fix
Fix uninitialized variable
2 parents e3b93c7 + 7acf1f1 commit deb71ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/util/show_help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static void opal_show_help_cbfunc(pmix_status_t status, void *cbdata)
134134
}
135135

136136
static void local_delivery(const char *file, const char *topic, char *msg) {
137-
pmix_info_t *info, *dirs;
137+
pmix_info_t *info, *dirs = NULL;
138138
int ninfo = 0, ndirs = 0;
139139
PMIX_INFO_CREATE(info, 1);
140140
PMIX_INFO_LOAD(&info[ninfo++], PMIX_LOG_STDERR, msg, PMIX_STRING);

0 commit comments

Comments
 (0)