aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/makerank.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/makerank.c')
-rw-r--r--FICS/makerank.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/FICS/makerank.c b/FICS/makerank.c
index aed86fa..70fe7ea 100644
--- a/FICS/makerank.c
+++ b/FICS/makerank.c
@@ -24,10 +24,10 @@ static int rtype;
static int
GetPlayerInfo(char *fileName, ENTRY *e)
{
- FILE *fp;
- char NameWithCase[30];
- char field[20];
- char line[100];
+ FILE *fp = NULL;
+ char NameWithCase[30] = { '\0' };
+ char field[20] = { '\0' };
+ char line[100] = { '\0' };
int done = 0;
e->computer = 0;