Skip to content

Commit e9a6246

Browse files
committed
treematch: fix global common symbol
Despite its name, this symbol doesn't need to be global. So just make it static. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent cf49957 commit e9a6246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/topo/treematch/treematch/tm_bucket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static int ilog2(int val)
3131

3232
static int verbose_level = ERROR;
3333

34-
bucket_list_t global_bl;
34+
static bucket_list_t global_bl = {0};
3535

3636
int tab_cmp(const void*,const void*);
3737
int old_bucket_id(int,int,bucket_list_t);

0 commit comments

Comments
 (0)