From: Ken Brown <kbrown@cornell.edu>
To: emacs-devel@gnu.org, Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: [Emacs-diffs] master b6c8cb5: Port movemail to RHEL 6 with --enable-gcc-warnings
Date: Wed, 9 Sep 2015 15:40:44 -0400 [thread overview]
Message-ID: <55F08B3C.2000802@cornell.edu> (raw)
In-Reply-To: <E1ZZcjt-0005lk-PE@vcs.savannah.gnu.org>
On 9/9/2015 6:36 AM, Paul Eggert wrote:
> branch: master
> commit b6c8cb57fc23f46d431ffc372abff9d8b2ed486c
> Author: Paul Eggert <eggert@cs.ucla.edu>
> Commit: Paul Eggert <eggert@cs.ucla.edu>
>
> Port movemail to RHEL 6 with --enable-gcc-warnings
>
> * lib-src/movemail.c (main): Declare local only if needed.
> ---
> 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 231bc22..c25db62 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);
This isn't quite right. See movemail.c:256, where spool_name is used
without having been declared.
Ken
next parent reply other threads:[~2015-09-09 19:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150909103629.22141.78303@vcs.savannah.gnu.org>
[not found] ` <E1ZZcjt-0005lk-PE@vcs.savannah.gnu.org>
2015-09-09 19:40 ` Ken Brown [this message]
2015-09-10 10:08 ` [Emacs-diffs] master b6c8cb5: Port movemail to RHEL 6 with --enable-gcc-warnings Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55F08B3C.2000802@cornell.edu \
--to=kbrown@cornell.edu \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.