aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/command.c')
-rw-r--r--FICS/command.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/FICS/command.c b/FICS/command.c
index 5d4f9a0..0338b7d 100644
--- a/FICS/command.c
+++ b/FICS/command.c
@@ -702,11 +702,11 @@ boot_out(int p, int p1)
PUBLIC void
rscan_news(FILE *fp, int p, int lc)
{
- char *junkp;
- char count[10];
- char junk[MAX_LINE_SIZE];
- long int lval;
- time_t crtime;
+ char *junkp = NULL;
+ char count[10] = { '\0' };
+ char junk[MAX_LINE_SIZE] = { '\0' };
+ long int lval = 0;
+ time_t crtime = 0;
fgets(junk, MAX_LINE_SIZE, fp);