diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-04-26 23:08:54 +0200 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-04-26 23:08:54 +0200 |
| commit | a63e71fc7d1511753e88666b6d0bc879bb0006ed (patch) | |
| tree | 33129f91993afe0a041428168a792615f225e505 /FICS | |
| parent | 44ff2d6c2a82a664863593b7d386d96ca99914ce (diff) | |
Initialization
Diffstat (limited to 'FICS')
| -rw-r--r-- | FICS/makerank.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FICS/makerank.c b/FICS/makerank.c index acb4756..11a0b93 100644 --- a/FICS/makerank.c +++ b/FICS/makerank.c @@ -158,10 +158,10 @@ static int LoadEntries(void) { ENTRY e; - FILE *fpPlayerList; - char command[90]; + FILE *fpPlayerList = NULL; + char command[90] = { '\0' }; char letter1; - char pathInput[80]; + char pathInput[80] = { '\0' }; int n = 0; int listsize; @@ -275,8 +275,8 @@ sortfunc(const void *i, const void *j) static void makerank(void) { - FILE *fp; - char fName[200]; + FILE *fp = NULL; + char fName[200] = { '\0' }; int fd; int sortnum, sortmesize, i, n; |
