diff --git a/src/plugins/select/bluegene/block_allocator/block_allocator.c b/src/plugins/select/bluegene/block_allocator/block_allocator.c
index 3b9a9247685848d73d7c2673681c1e70eb5d7bfd..dcce5561fede3110b1b7eefa937ec843d5433cbd 100644
--- a/src/plugins/select/bluegene/block_allocator/block_allocator.c
+++ b/src/plugins/select/bluegene/block_allocator/block_allocator.c
@@ -1571,9 +1571,6 @@ extern int removable_set_bps(char *bps)
 extern int reset_all_removed_bps()
 {
 	int x;
-#ifdef HAVE_BG
-	int y,z;
-#endif
 
 	for (x = 0; x < DIM_SIZE[X]; x++) {
 #ifdef HAVE_BG