aboutsummaryrefslogtreecommitdiff
path: root/lib/hindex.h
AgeCommit message (Collapse)Author
2013-07-22clang: Fix the "expression result unused" warning.Alex Wang
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>
2013-07-22clang: Fix segfault in unit tests.Alex Wang
It seems that 'clang' compiler applies strict protection on pointer dereference. And it causes unexpected execution in macro functions like "HMAP_FOR_EACH()" and unit test failures. This commit fixes this issue and pass all unit tests. Co-authored-by: Ethan Jackson <ethan@nicira.com> Signed-off-by: Alex Wang <alexw@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
2013-06-18hindex: New data structure for hashed multimaps.Ben Pfaff
Signed-off-by: Ben Pfaff <blp@nicira.com>