[ovs-git] Open vSwitch: Clean-up compiler warnings about ignoring return values (next)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 15 08:15:58 UTC 2009

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, next has been updated
       via  18b9283b986ab65f64385981f4ba8e237f658c0d (commit)
       via  c100e025e2ca1bc330512e003bac8359ee65318d (commit)
      from  c39c2868e050922b440fdc9f0ef28b5e2e36fefb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 18b9283b986ab65f64385981f4ba8e237f658c0d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=18b9283b986ab65f64385981f4ba8e237f658c0d
Author: Justin Pettit <jpettit at nicira.com>
Clean-up compiler warnings about ignoring return values
Some systems complain when certain functions' return values are not
checked.  This commit fixes those warnings.

Creating ignore() function suggested by Ben Pfaff.

commit c100e025e2ca1bc330512e003bac8359ee65318d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c100e025e2ca1bc330512e003bac8359ee65318d
Author: Ben Pfaff <blp at nicira.com>
netdev-linux: Fix aliasing error.
The latest version of GCC flags a common socket convention as breaking
strict-aliasing rules.  This commit removes the aliasing and gets rid of
the scary warning.


Summary of changes:
 lib/daemon.c         |    4 ++--
 lib/netdev-linux.c   |   10 +++++-----
 lib/process.c        |    4 ++--
 lib/signals.c        |    4 ++--
 lib/util.c           |    6 ++++++
 lib/util.h           |    2 ++
 ofproto/executer.c   |    2 +-
 ovsdb/log.c          |    2 +-
 ovsdb/ovsdb-server.c |    2 +-
 tests/test-vconn.c   |    2 +-
 10 files changed, 23 insertions(+), 15 deletions(-)

Open vSwitch

More information about the git mailing list