diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-29 23:20:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-29 23:20:24 +0000 |
commit | b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f (patch) | |
tree | b7c796c1468a17c2da2f1fb4284601145cd9a356 /uid.c | |
parent | 9e818012346fbee36ba481866b3d0005ac6816ea (diff) | |
download | fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.tar.gz fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.tar.bz2 fetchmail-b5e4dc5abc12941cb0695e4d69d5ac2a2f21406f.zip |
-Wall changes.
svn path=/trunk/; revision=2626
Diffstat (limited to 'uid.c')
-rw-r--r-- | uid.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -70,7 +70,6 @@ static struct idlist *scratchlist; void initialize_saved_lists(struct query *hostlist, const char *idfile) /* read file of saved IDs and attach to each host */ { - int st; FILE *tmpfp; struct query *ctl; @@ -82,14 +81,14 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile) if ((tmpfp = fopen(idfile, "r")) != (FILE *)NULL) { char buf[POPBUFSIZE+1]; - char *host; + char *host = NULL; /* pacify -Wall */ char *user; char *id; char *atsign; /* temp pointer used in parsing user and host */ char *delimp1; char saveddelim1; char *delimp2; - char saveddelim2; + char saveddelim2 = '\0'; /* pacify -Wall */ while (fgets(buf, POPBUFSIZE, tmpfp) != (char *)NULL) { |