aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-29 23:20:24 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-29 23:20:24 +0000
commitb5e4dc5abc12941cb0695e4d69d5ac2a2f21406f (patch)
treeb7c796c1468a17c2da2f1fb4284601145cd9a356 /uid.c
parent9e818012346fbee36ba481866b3d0005ac6816ea (diff)
downloadfetchmail-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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/uid.c b/uid.c
index 0d9c0f71..934eae82 100644
--- a/uid.c
+++ b/uid.c
@@ -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)
{