aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 26ebe72a..f1e69dab 100644
--- a/driver.c
+++ b/driver.c
@@ -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: