diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-10-20 09:14:04 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-10-20 09:14:04 +0000 |
commit | 334cb452bfee4d0511f9591292903d01f58efaf9 (patch) | |
tree | 21d7baddc9b7fde16dfa1c315693623649144083 /fetchmail.c | |
parent | 65f9c5e8d026830b0fbd2583007c507e5e6e2b78 (diff) | |
download | fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.gz fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.bz2 fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.zip |
Fix miscellaneous warnings.
svn path=/trunk/; revision=3953
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/fetchmail.c b/fetchmail.c index de5215a9..1756c73f 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -116,7 +116,6 @@ static char *timestamp (void) static RETSIGTYPE donothing(int sig) { - extern volatile int lastsig; /* declared in idle.c */ set_signal_handler(sig, donothing); lastsig = sig; } @@ -124,7 +123,7 @@ static RETSIGTYPE donothing(int sig) int main(int argc, char **argv) { int bkgd = FALSE; - int parsestatus, implicitmode = FALSE; + int implicitmode = FALSE; struct query *ctl; netrc_entry *netrc_list; char *netrc_file, *tmpbuf; @@ -180,7 +179,7 @@ int main(int argc, char **argv) } #endif - if ((parsestatus = parsecmdline(argc,argv, &cmd_run, &cmd_opts)) < 0) + if ((parsecmdline(argc,argv, &cmd_run, &cmd_opts)) < 0) exit(PS_SYNTAX); if (versioninfo) @@ -461,10 +460,8 @@ int main(int argc, char **argv) GT_("fetchmail: can't find a password for %s@%s.\n"), ctl->remotename, ctl->server.pollname); return(PS_AUTHFAIL); - } - else - { - char* password_prompt = GT_("Enter password for %s@%s: "); + } else { + const char* password_prompt = GT_("Enter password for %s@%s: "); xalloca(tmpbuf, char *, strlen(password_prompt) + strlen(ctl->remotename) + |