* movemail.c: Remove unused vars
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Feb 2011 18:26:52 +0000 (10:26 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Feb 2011 18:26:52 +0000 (10:26 -0800)
lib-src/ChangeLog
lib-src/movemail.c

index f2e55c3..f2f2c0a 100644 (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.
index 65675f2..bb93d84 100644 (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.  */