diff --git a/tests/tests2/30_hanoi.c b/tests/tests2/30_hanoi.c
index b1a11814..7c0893b1 100644
--- a/tests/tests2/30_hanoi.c
+++ b/tests/tests2/30_hanoi.c
@@ -68,7 +68,7 @@ void PrintAll()
 /* Returns the value moved (not used.) */
 int Move(int *source, int *dest)
 {
-   int i,j;
+   int i = 0, j = 0;
 
    while (i<N && (source[i])==0) i++;
    while (j<N && (dest[j])==0) j++;
diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile
index a7c8a2f3..6e0fa342 100644
--- a/tests/tests2/Makefile
+++ b/tests/tests2/Makefile
@@ -88,7 +88,7 @@ TESTS =	\
 # 34_array_assignment.test -- array assignment is not in C standard
 # 46_grep.test -- does not compile even with gcc
 
-SKIP = 30_hanoi.test 34_array_assignment.test 46_grep.test
+SKIP = 34_array_assignment.test 46_grep.test
 
 # some tests do not pass on all platforms, remove them for now
 ifeq ($(TARGETOS),Darwin)