Init variables, fix #26

This commit is contained in:
Erik Ekman 2007-08-08 06:20:09 +00:00 committed by Erik Ekman
parent 63fa76e182
commit 91178e7066

View file

@ -41,6 +41,7 @@ START_TEST(test_inline_dotify)
char temp[1024]; char temp[1024];
char *b; char *b;
i = 0;
while (dottests[i].a) { while (dottests[i].a) {
memset(temp, 0, sizeof(temp)); memset(temp, 0, sizeof(temp));
strcpy(temp, dottests[i].a); strcpy(temp, dottests[i].a);
@ -60,6 +61,7 @@ START_TEST(test_inline_undotify)
char temp[1024]; char temp[1024];
char *b; char *b;
i = 0;
while (dottests[i].a) { while (dottests[i].a) {
memset(temp, 0, sizeof(temp)); memset(temp, 0, sizeof(temp));
strcpy(temp, dottests[i].b); strcpy(temp, dottests[i].b);