From: Alan Modra <amodra@gmail.com>
To: Bernd Jendrissek <bernd.jendrissek@gmail.com>
Cc: binutils <binutils@sourceware.org>
Subject: Re: nlmconv.c - warning: value computed is not used
Date: Wed, 08 Dec 2010 05:22:00 -0000 [thread overview]
Message-ID: <20101208052206.GF15607@bubble.grove.modra.org> (raw)
In-Reply-To: <AANLkTimBKCQyySsc9tFYcQZ6UrsnbAvZKCjth-rYaNuz@mail.gmail.com>
On Wed, Dec 08, 2010 at 01:03:55AM +0200, Bernd Jendrissek wrote:
> In message <477B8342.60604@redhat.com> Nick Clifton wrote:
> >> .././binutils/nlmconv.c: In function 'main':
> >> .././binutils/nlmconv.c:1081: warning: value computed is not used
> >>
> >> but is it safe to ignore this warning?
> >
> >Possibly, but it is hard to be sure without being able to reproduce the bug.
> >(I tried with my local sources, but I did not see this warning). What does
> >line 1081 in nlmconv.c in your sources look like ? Is it this:
> >
> > strncpy (nlm_variable_header (outbfd)->oldThreadName, " LONG",
> > NLM_OLD_THREAD_NAME_LENGTH);
> >
> >[snip other alternative]
>
> This is it in my case.
I wonder do you have a fancy macro for strncpy on your system? What
does the preprocessor output look like here?
--
Alan Modra
Australia Development Lab, IBM
next prev parent reply other threads:[~2010-12-08 5:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 23:04 Bernd Jendrissek
2010-12-08 5:22 ` Alan Modra [this message]
2010-12-10 14:18 ` Bernd Jendrissek
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=20101208052206.GF15607@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=bernd.jendrissek@gmail.com \
--cc=binutils@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).