[ovs-dev] [PATCH] hmap.h: Fix Coverity false positive
Usman Ansari
ua1422 at gmail.com
Thu Mar 19 18:50:55 UTC 2020
Coverity reports a false positive below:
Incorrect expression, Assign_where_compare_meant: use of "="
where "==" may have been intended.
Fixed it by rewriting '(NODE = NULL)' as '((NODE = NULL), false)'.
"make check" passes for this change
Coverity reports 80 errors resolved
Suggested-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Usman Ansari <u1422 at gmail.com>
More information about the dev
mailing list