diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-06-11 14:14:45 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-06-11 14:14:45 +0000 |
commit | 85f067d97fdf18769eefd8419ab10c3a9a113195 (patch) | |
tree | bfee6b6c300dd287f69ec213a6472ff6620f067a /driver.c | |
parent | e553aea6031e99f495849ccde9cfcf4de5d052ab (diff) | |
download | fetchmail-85f067d97fdf18769eefd8419ab10c3a9a113195.tar.gz fetchmail-85f067d97fdf18769eefd8419ab10c3a9a113195.tar.bz2 fetchmail-85f067d97fdf18769eefd8419ab10c3a9a113195.zip |
-Wall cleanup.
svn path=/trunk/; revision=1083
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1163,7 +1163,7 @@ struct query *ctl; /* parsed options with merged-in defaults */ const struct method *proto; /* protocol method table */ { int ok, js, pst; - char *msg, *sp, *cp, realname[HOSTLEN]; + char *msg, *cp, realname[HOSTLEN]; void (*sigsave)(); #ifndef KERBEROS_V4 @@ -1218,7 +1218,7 @@ const struct method *proto; /* protocol method table */ } else { - char buf [POPBUFSIZE+1]; + char buf [POPBUFSIZE+1], *sp; int *msgsizes, len, num, count, new, deletions = 0; int sock, port, fetches; struct idlist *idp; @@ -1278,6 +1278,7 @@ const struct method *proto; /* protocol method table */ * the .fetchmailrc id. */ pst = 0; + sp = (char *)NULL; /* sacrifice to -Wall */ for (cp = buf; *cp; cp++) { switch (pst) @@ -1644,6 +1645,7 @@ const struct method *proto; /* protocol method table */ close(sock); } + msg = (char *)NULL; /* sacrifice to -Wall */ switch (ok) { case PS_SOCKET: |