From 56f8a7b8406430f4e43a1fd0d6eee23c32ddb7d5 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 7 Sep 2015 14:56:03 +0900 Subject: [PATCH] coll/ml: declare a global variable as static to avoid an uninitialized common symbol. --- ompi/mca/coll/ml/coll_ml_allocation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/coll/ml/coll_ml_allocation.c b/ompi/mca/coll/ml/coll_ml_allocation.c index 184a2051f6..e9f164c524 100644 --- a/ompi/mca/coll/ml/coll_ml_allocation.c +++ b/ompi/mca/coll/ml/coll_ml_allocation.c @@ -17,7 +17,7 @@ #include "coll_ml_inlines.h" #include "coll_ml_allocation.h" -long memory_buffer_index; +static long memory_buffer_index; mca_bcol_base_memory_block_desc_t *mca_coll_ml_allocate_block(struct mca_coll_ml_component_t *ml_component, mca_bcol_base_memory_block_desc_t *ml_memblock)