From b0c6924a8e09422521d803183a6e7518743db0f5 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Wed, 8 Aug 2007 06:20:09 +0000 Subject: [PATCH] Init variables, fix #26 --- tests/encoding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/encoding.c b/tests/encoding.c index 1b314e3..fcfae49 100644 --- a/tests/encoding.c +++ b/tests/encoding.c @@ -41,6 +41,7 @@ START_TEST(test_inline_dotify) char temp[1024]; char *b; + i = 0; while (dottests[i].a) { memset(temp, 0, sizeof(temp)); strcpy(temp, dottests[i].a); @@ -60,6 +61,7 @@ START_TEST(test_inline_undotify) char temp[1024]; char *b; + i = 0; while (dottests[i].a) { memset(temp, 0, sizeof(temp)); strcpy(temp, dottests[i].b);