mirror of
https://github.com/yarrick/iodine.git
synced 2025-10-15 15:59:57 +00:00
Init variables, fix #26
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user