All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Brian Haley <brian.haley@hp.com>
Cc: trinity@vger.kernel.org
Subject: Re: [PATCH] Fix two shadow compiler warnings
Date: Fri, 15 Aug 2014 17:18:16 -0400	[thread overview]
Message-ID: <20140815211816.GA2096@redhat.com> (raw)
In-Reply-To: <1408136559-13716-1-git-send-email-brian.haley@hp.com>

On Fri, Aug 15, 2014 at 05:02:39PM -0400, Brian Haley wrote:
 >   CC	fd-files.o
 > fd-files.c: In function ‘list_to_index’:
 > fd-files.c:216:15: warning: declaration of ‘index’ shadows a global declaration [-Wshadow]
 >   CC	fds.o
 > fds.c: In function ‘process_disable_fds_param’:
 > fds.c:164:38: warning: declaration of ‘optarg’ shadows a global declaration [-Wshadow]

ugh, what gcc is that with ?
It seems 4.9.1 is smart enough to figure out that isn't a problem.

I'll apply the patch though.

	Dave

  reply	other threads:[~2014-08-15 21:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15 21:02 [PATCH] Fix two shadow compiler warnings Brian Haley
2014-08-15 21:18 ` Dave Jones [this message]
2014-08-15 21:41   ` Brian Haley

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=20140815211816.GA2096@redhat.com \
    --to=davej@redhat.com \
    --cc=brian.haley@hp.com \
    --cc=trinity@vger.kernel.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.
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.