1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-19 18:13:55 +00:00

* movemail.c: Remove unused vars

This commit is contained in:
Paul Eggert 2011-02-21 10:26:52 -08:00
parent 27d41fb4a9
commit 1afca8cc21
2 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,7 @@
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.

View File

@ -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. */