1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-12-01 17:36:10 +03:00

Init variables, fix #26

This commit is contained in:
Erik Ekman 2007-08-08 06:20:09 +00:00
parent 32bd132d43
commit b0c6924a8e

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);