From 2873fd9f98fc97d4aa513066de73faeb11e6de2d Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Wed, 22 Feb 2012 15:34:24 -0800
Subject: [PATCH] BGQ - reset counter to be safe.

---
 src/plugins/select/bluegene/ba_bgq/block_allocator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/select/bluegene/ba_bgq/block_allocator.c b/src/plugins/select/bluegene/ba_bgq/block_allocator.c
index 5c1aa7c48a3..9897e536589 100644
--- a/src/plugins/select/bluegene/ba_bgq/block_allocator.c
+++ b/src/plugins/select/bluegene/ba_bgq/block_allocator.c
@@ -230,7 +230,7 @@ extern void ba_create_system()
 	*/
 	ba_main_grid_array = xmalloc(sizeof(ba_mp_t *) *
 				     ba_main_geo_system->total_size);
-
+	i = 0;
 	ba_main_grid = (ba_mp_t****)
 		xmalloc(sizeof(ba_mp_t***) * DIM_SIZE[A]);
 	for (a = 0; a < DIM_SIZE[A]; a++) {
-- 
GitLab