remove unused variable
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c
index d2d0b06..13438b9 100644
--- a/openbsc/src/bsc_hack.c
+++ b/openbsc/src/bsc_hack.c
@@ -1080,7 +1080,7 @@
 static void handle_options(int argc, char** argv)
 {
 	while (1) {
-		int tmp, option_index = 0, c;
+		int option_index = 0, c;
 		static struct option long_options[] = {
 			{"help", 0, 0, 'h'},
 			{"debug", 1, 0, 'd'},