From 1afca8cc21992331ee81622702d5449473cafe94 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Feb 2011 10:26:52 -0800 Subject: [PATCH] * movemail.c: Remove unused vars --- lib-src/ChangeLog | 1 + lib-src/movemail.c | 5 ----- 2 files changed, 1 insertion(+), 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 @@ 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. */ -- 2.39.5