From 0a51386960bcf116cce03fe61e21effd875cd792 Mon Sep 17 00:00:00 2001 From: minux Date: Sat, 12 Apr 2014 13:37:37 -0400 Subject: [PATCH] tests2: fix 30_hanoi test and enable it. --- tests/tests2/30_hanoi.c | 2 +- tests/tests2/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests2/30_hanoi.c b/tests/tests2/30_hanoi.c index b1a1181..7c0893b 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