[Bugs] [Bug 1424817] New: Fix wrong operators, found by coverty
bugzilla at redhat.com
bugzilla at redhat.com
Sun Feb 19 16:22:56 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1424817
Bug ID: 1424817
Summary: Fix wrong operators, found by coverty
Product: GlusterFS
Version: mainline
Component: core
Assignee: bugs at gluster.org
Reporter: misc at zarb.org
CC: bugs at gluster.org
Description of problem:
Fix wrong operators
Coverty rightfully note that if we verify that
A =! C or A != B, it will always be true.
In one case, that prevent healing from continuing. In the other,
that trigger useless logs.
Version-Release number of selected component (if applicable):
git head
How reproducible:
each time
Steps to Reproduce:
1. read
https://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-02-17-8e7a8ea8/html/1/97stripe.c.html#error
2. read also
https://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-02-17-8e7a8ea8/html/1/93dht-rebalance.c.html#error
3.
Actual results:
there is errornous code
Expected results:
no erronous code
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list