[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 31 19:46:37 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=789278



--- Comment #1066 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18591 committed in master by  

------------- snapshot: fix coverity issue 'DEADCODE'

Problem : Unreachable code at glusterd-snapshot.c:6718
          Unreachable code at glusterd-snapshot.c:7352

FIx : Remove unreachable code

At glusterd-snapshot.c:6718 in if condition the value of "snap" must be "NULL"
to call glusterd_snap_remove() which is not possible here.

Change-Id: Id865bde7c1474a9b9ed11c0ed614676b4e2443c6
BUG: 789278
Signed-off-by: Sunny Kumar <sunkumar at redhat.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list