summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authoryatipadia <ypadia@redhat.com>2019-09-16 14:45:12 +0530
committerAmar Tumballi <amarts@gmail.com>2019-10-03 11:21:47 +0000
commitf2404405432cfc7c2369de02f79eee000b9aee13 (patch)
treedfc0a6a0f3d03ccbb928ebe92395a60a621e0c4b /xlators/cluster/afr
parentda331e1e5a04650d340509b4d4de8f20aea0712d (diff)
xlators: fixes logically dead code.
This patch addresses CID-1124388. Problem: When we reach the "out" section in ra_priv_dump(), if the condition (ret && conf) holds true, then the value of "add_section" will always be true. So the condition (add_section == _gf_false) will be a dead code. Fix:"add_section" has no use in the whole block and was making part of the block as logically dead code and hence, removed it. Change-Id: Id7e0105fc9a5ca5b2c2d098c665e6e32ecc6b62b updates: bz#789278 Signed-off-by: yatipadia <ypadia@redhat.com>
Diffstat (limited to 'xlators/cluster/afr')
0 files changed, 0 insertions, 0 deletions