Commit 1afca8cc authored by Paul Eggert's avatar Paul Eggert

* movemail.c: Remove unused vars

parent 27d41fb4
2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
* movemail.c (main, pop_retr): Rename locals to avoid shadowing.
(progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
Declare file-scope functions and variables static if not exported.
This is more consistent, and is nicer with gcc -Wstrict-prototypes.
......
......@@ -672,11 +672,6 @@ xmalloc (unsigned int size)
#define OK 0
#define DONE 1
static char *progname;
static FILE *sfi;
static FILE *sfo;
static char ibuffer[BUFSIZ];
static char obuffer[BUFSIZ];
static char Errmsg[200]; /* POP errors, at least, can exceed
the original length of 80. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment