[ovs-git] Open vSwitch: clang: Fix the "expression result unused" warning. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jul 22 19:50:15 UTC 2013


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, master has been updated
       via  33e191a01b2c5aad1e97c109e66dec4b4d280ef6 (commit)
      from  55d2690646769467b6d26ad55516ff6eeb12869d (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 33e191a01b2c5aad1e97c109e66dec4b4d280ef6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=33e191a01b2c5aad1e97c109e66dec4b4d280ef6
Author: Alex Wang <alexw at nicira.com>
		
clang: Fix the "expression result unused" warning.
		
This commit makes macro function "ASSIGN_CONTAINER()" evaluates
to "(void)0". This is to avoid the 'clang' warning: "expression
result unused", since most of time, the final evaluated value
is not used.

Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/classifier.h |    2 +-
 lib/heap.h       |    6 +++---
 lib/hindex.h     |    2 +-
 lib/hmap.h       |    2 +-
 lib/list.h       |   10 +++++-----
 lib/util.h       |    4 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list