Skip to content

Commit 0931d09

Browse files
committed
ess/singleton: silence a valgrind warning
initialize a pointer and keep valgrind happy about it
1 parent 1fbc9a5 commit 0931d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/mca/ess/singleton/ess_singleton_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static int rte_init(void)
8787
char *error = NULL;
8888
char *ev1, *ev2;
8989
opal_value_t *kv;
90-
char *val;
90+
char *val = NULL;
9191
int u32, *u32ptr;
9292
uint16_t u16, *u16ptr;
9393
orte_process_name_t name;

0 commit comments

Comments
 (0)