netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Paasch <christoph.paasch@uclouvain.be>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org
Subject: [PATCH iproute2 0/2] Fix compiler-errors with gcc 4.7.3
Date: Sat, 20 Jul 2013 21:58:16 +0200	[thread overview]
Message-ID: <1374350298-1177-1-git-send-email-christoph.paasch@uclouvain.be> (raw)

gcc complains about unused return-values in ss.c and lnstat_util.c

In ss, upon the calls to fscanf, I added an empty if-statement to suppress
the compiler-error. Admittedly not a very neat solution, but we can't do
anything more here.

If you want me to handle the fscanf-case differently, let me know.


Christoph Paasch (2):
  ss: Fix compiler errors of unused return-values
  lnstat: Fix compiler errors of unused return-values

 misc/lnstat_util.c | 12 ++++++++----
 misc/ss.c          | 30 +++++++++++++++++++++---------
 2 files changed, 29 insertions(+), 13 deletions(-)

-- 
1.8.1.2

             reply	other threads:[~2013-07-20 20:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-20 19:58 Christoph Paasch [this message]
2013-07-20 19:58 ` [PATCH iproute2 1/2] ss: Fix compiler errors of unused return-values Christoph Paasch
2013-07-22 14:54   ` Stephen Hemminger
2013-07-22 15:06     ` Denis Kirjanov
2013-07-22 15:35       ` Stephen Hemminger
2013-07-22 15:14     ` Christoph Paasch
2013-07-22 15:38   ` Eric Dumazet
2013-07-22 17:26     ` Ben Hutchings
2013-07-20 19:58 ` [PATCH iproute2 2/2] lnstat: " Christoph Paasch

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=1374350298-1177-1-git-send-email-christoph.paasch@uclouvain.be \
    --to=christoph.paasch@uclouvain.be \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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 NNTP newsgroup(s).