all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master b6c8cb5: Port movemail to RHEL 6 with --enable-gcc-warnings
       [not found] ` <E1ZZcjt-0005lk-PE@vcs.savannah.gnu.org>
@ 2015-09-09 19:40   ` Ken Brown
  2015-09-10 10:08     ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2015-09-09 19:40 UTC (permalink / raw)
  To: emacs-devel, Paul Eggert

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Emacs-diffs] master b6c8cb5: Port movemail to RHEL 6 with --enable-gcc-warnings
  2015-09-09 19:40   ` [Emacs-diffs] master b6c8cb5: Port movemail to RHEL 6 with --enable-gcc-warnings Ken Brown
@ 2015-09-10 10:08     ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2015-09-10 10:08 UTC (permalink / raw)
  To: Ken Brown, emacs-devel

Ken Brown wrote:
> This isn't quite right.  See movemail.c:256, where spool_name is used without
> having been declared.

Thanks, should be fixed now.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-10 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20150909103629.22141.78303@vcs.savannah.gnu.org>
     [not found] ` <E1ZZcjt-0005lk-PE@vcs.savannah.gnu.org>
2015-09-09 19:40   ` [Emacs-diffs] master b6c8cb5: Port movemail to RHEL 6 with --enable-gcc-warnings Ken Brown
2015-09-10 10:08     ` Paul Eggert

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.