Skip to content

Commit 486c348

Browse files
committed
XHC: swat compiler warningbug
Signed-off-by: Howard Pritchard <[email protected]>
1 parent 4f00e3e commit 486c348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/xhc/coll_xhc_component.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ static int xhc_register(void) {
210210
int var_index = mca_base_var_find("opal", "smsc", "xpmem", "memcpy_chunk_size");
211211

212212
if(var_index >= 0) {
213-
size_t *var_value_ptr;
213+
size_t *var_value_ptr = NULL;
214214

215215
err = mca_base_var_get_value(var_index, &var_value_ptr, NULL, NULL);
216216

0 commit comments

Comments
 (0)