diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-09-09 03:36:08 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-09-09 03:36:25 -0700 |
commit | b6c8cb57fc23f46d431ffc372abff9d8b2ed486c (patch) | |
tree | 274df50d92e321d43782060beaffcc507139a013 /lib-src | |
parent | c28542c29fde8c6862429a6b7180e2434f2e4ea4 (diff) | |
download | emacs-b6c8cb57fc23f46d431ffc372abff9d8b2ed486c.tar.gz |
Port movemail to RHEL 6 with --enable-gcc-warnings
* lib-src/movemail.c (main): Declare local only if needed.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/movemail.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 231bc22fa89..c25db625387 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -174,8 +174,6 @@ main (int argc, char **argv) int desc; #endif /* not MAIL_USE_SYSTEM_LOCK */ - char *spool_name = 0; - #ifdef MAIL_USE_POP bool pop_reverse_order = false; # define ARGSTR "pr" @@ -247,6 +245,10 @@ main (int argc, char **argv) char *lockname = 0; +#ifdef MAIL_USE_MAILLOCK + char *spool_name = 0; +#endif + #ifndef MAIL_USE_SYSTEM_LOCK #ifdef MAIL_USE_MAILLOCK spool_name = mail_spool_name (inname); |