aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2011-02-21 10:26:52 -0800
committerPaul Eggert2011-02-21 10:26:52 -0800
commit1afca8cc21992331ee81622702d5449473cafe94 (patch)
tree28211abde4c1c18c35d874c73fff7bd0cb4a1309 /lib-src
parent27d41fb4a9af23628a0d78cf843df12f3797896d (diff)
downloademacs-1afca8cc21992331ee81622702d5449473cafe94.tar.gz
emacs-1afca8cc21992331ee81622702d5449473cafe94.zip
* movemail.c: Remove unused vars
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog1
-rw-r--r--lib-src/movemail.c5
2 files changed, 1 insertions, 5 deletions
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 @@
12011-02-21 Paul Eggert <eggert@cs.ucla.edu> 12011-02-21 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * movemail.c (main, pop_retr): Rename locals to avoid shadowing. 3 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
4 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
4 5
5 Declare file-scope functions and variables static if not exported. 6 Declare file-scope functions and variables static if not exported.
6 This is more consistent, and is nicer with gcc -Wstrict-prototypes. 7 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)
672#define OK 0 672#define OK 0
673#define DONE 1 673#define DONE 1
674 674
675static char *progname;
676static FILE *sfi;
677static FILE *sfo;
678static char ibuffer[BUFSIZ];
679static char obuffer[BUFSIZ];
680static char Errmsg[200]; /* POP errors, at least, can exceed 675static char Errmsg[200]; /* POP errors, at least, can exceed
681 the original length of 80. */ 676 the original length of 80. */
682 677