From e9a6246b90d94e837e75f99953ad589fe79f4631 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 20 Dec 2018 10:23:44 -0800 Subject: [PATCH] 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 --- ompi/mca/topo/treematch/treematch/tm_bucket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/topo/treematch/treematch/tm_bucket.c b/ompi/mca/topo/treematch/treematch/tm_bucket.c index cd494476de..2389aa4fc4 100644 --- a/ompi/mca/topo/treematch/treematch/tm_bucket.c +++ b/ompi/mca/topo/treematch/treematch/tm_bucket.c @@ -31,7 +31,7 @@ static int ilog2(int val) static int verbose_level = ERROR; -bucket_list_t global_bl; +static bucket_list_t global_bl = {0}; int tab_cmp(const void*,const void*); int old_bucket_id(int,int,bucket_list_t);