[ovs-git] [openvswitch/ovs] 8c5445: hmap: Fix Coverity false positive
noreply at github.com
Thu Mar 19 22:08:56 UTC 2020
Author: Usman Ansari <ua1422 at gmail.com>
Date: 2020-03-19 (Thu, 19 Mar 2020)
hmap: Fix Coverity false positive
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 over 500 errors resolved
Suggested-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Usman Ansari <ua1422 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git