diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-11-28 23:20:59 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-11-28 23:20:59 +0100 |
commit | 11c6dd9df3dc897c86e31867d5749466fd7c21d5 (patch) | |
tree | 65a21a797505d3ea604ec88e0e71a6fb3f40094d | |
parent | bf0daae7f32422349d3365a428cf16cb700fdaef (diff) |
Initialization
-rw-r--r-- | FICS/makerank.c | 6 |
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) >= |