diff options
Diffstat (limited to 'FICS/command.c')
-rw-r--r-- | FICS/command.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/FICS/command.c b/FICS/command.c index 0338b7d..872c92c 100644 --- a/FICS/command.c +++ b/FICS/command.c @@ -733,13 +733,13 @@ rscan_news(FILE *fp, int p, int lc) PRIVATE void check_news(int p, int admin) { - FILE *fp; - char count[10]; - char filename[MAX_FILENAME_SIZE]; - char junk[MAX_LINE_SIZE]; - char *junkp; - long int lval; - time_t crtime; + FILE *fp = NULL; + char count[10] = { '\0' }; + char filename[MAX_FILENAME_SIZE] = { '\0' }; + char junk[MAX_LINE_SIZE] = { '\0' }; + char *junkp = NULL; + long int lval = 0; + time_t crtime = 0; time_t lc = player_lastconnect(p); if (admin) { |