clang: Fix the "expression result unused" warning.
authorAlex Wang <alexw@nicira.com>
Mon, 22 Jul 2013 16:19:57 +0000 (09:19 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 22 Jul 2013 19:47:59 +0000 (12:47 -0700)
commit33e191a01b2c5aad1e97c109e66dec4b4d280ef6
tree2bd6472602bc7f2de9a90c2108435d0252ab7a09
parent55d2690646769467b6d26ad55516ff6eeb12869d
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@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/classifier.h
lib/heap.h
lib/hindex.h
lib/hmap.h
lib/list.h
lib/util.h