From: Paul Eggert Date: Mon, 21 Feb 2011 18:26:52 +0000 (-0800) Subject: * movemail.c: Remove unused vars X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~781 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1afca8cc21992331ee81622702d5449473cafe94;p=emacs.git * movemail.c: Remove unused vars --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f2e55c3e0c0..f2f2c0af1ce 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,6 +1,7 @@ 2011-02-21 Paul Eggert * 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. diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 65675f24b9f..bb93d84d89a 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -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. */