Skip to content

Commit f2a27cc

Browse files
authored
Merge pull request #3396 from hppritcha/topic/swat_compiler_warning
btl/sm: swat a compiler warning
2 parents ebe6125 + 782f1bb commit f2a27cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/btl/sm/btl_sm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* All rights reserved.
1313
* Copyright (c) 2006-2007 Voltaire. All rights reserved.
1414
* Copyright (c) 2009-2012 Cisco Systems, Inc. All rights reserved.
15-
* Copyright (c) 2010-2015 Los Alamos National Security, LLC.
15+
* Copyright (c) 2010-2017 Los Alamos National Security, LLC.
1616
* All rights reserved.
1717
* Copyright (c) 2010-2012 IBM Corporation. All rights reserved.
1818
* Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
@@ -221,7 +221,7 @@ sm_btl_first_time_init(mca_btl_sm_t *sm_btl,
221221
{
222222
size_t length, length_payload;
223223
sm_fifo_t *my_fifos;
224-
int my_mem_node, num_mem_nodes, i, rc;
224+
int my_mem_node, num_mem_nodes, i = 0, rc;
225225
mca_common_sm_mpool_resources_t *res = NULL;
226226
mca_btl_sm_component_t* m = &mca_btl_sm_component;
227227
char *loc, *mynuma;

0 commit comments

Comments
 (0)