diff options
-rw-r--r-- | FICS/lists.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/lists.c b/FICS/lists.c index c26f547..5544d9f 100644 --- a/FICS/lists.c +++ b/FICS/lists.c @@ -79,8 +79,8 @@ list_find(int p, enum ListWhich l) return NULL; if (!personal) { // now we have to load the list FILE *fp; - char filename[MAX_FILENAME_SIZE]; - char listmember[100]; + char filename[MAX_FILENAME_SIZE] = { '\0' }; + char listmember[100] = { '\0' }; sprintf(filename, "%s/%s", lists_dir, ListArray[l].name); @@ -362,7 +362,7 @@ list_addsub(int p, char *list, char *who, int addsub) if (!personal) { FILE *fp; - char filename[MAX_FILENAME_SIZE]; + char filename[MAX_FILENAME_SIZE] = { '\0' }; switch (gl->which) { case L_MUZZLE: |