diff options
| author | Paul Eggert | 2011-02-21 10:26:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-21 10:26:52 -0800 |
| commit | 1afca8cc21992331ee81622702d5449473cafe94 (patch) | |
| tree | 28211abde4c1c18c35d874c73fff7bd0cb4a1309 /lib-src | |
| parent | 27d41fb4a9af23628a0d78cf843df12f3797896d (diff) | |
| download | emacs-1afca8cc21992331ee81622702d5449473cafe94.tar.gz emacs-1afca8cc21992331ee81622702d5449473cafe94.zip | |
* movemail.c: Remove unused vars
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 1 | ||||
| -rw-r--r-- | lib-src/movemail.c | 5 |
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 @@ | |||
| 1 | 2011-02-21 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-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 | ||
| 675 | static char *progname; | ||
| 676 | static FILE *sfi; | ||
| 677 | static FILE *sfo; | ||
| 678 | static char ibuffer[BUFSIZ]; | ||
| 679 | static char obuffer[BUFSIZ]; | ||
| 680 | static char Errmsg[200]; /* POP errors, at least, can exceed | 675 | static char Errmsg[200]; /* POP errors, at least, can exceed |
| 681 | the original length of 80. */ | 676 | the original length of 80. */ |
| 682 | 677 | ||