aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/makerank.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/makerank.c b/FICS/makerank.c
index daece45..d851c53 100644
--- a/FICS/makerank.c
+++ b/FICS/makerank.c
@@ -209,9 +209,9 @@ LoadEntries(void)
static int
SetComputers(int n)
{
- FILE *fpComp;
- char comp[30];
- char line[100];
+ FILE *fpComp = NULL;
+ char comp[30] = { '\0' };
+ char line[100] = { '\0' };
int i = 0;
if (snprintf(line, sizeof line, "sort -f %s", COMPUTER_FILE) >=