[Bugs] [Bug 1424809] Fix another coverty error for useless goto
bugzilla at redhat.com
bugzilla at redhat.com
Mon Feb 20 13:42:38 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1424809
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16674 committed in master by Atin Mukherjee
(amukherj at redhat.com)
------
commit 37772e8e94400a60aedcd6713b1abedb1eb9ea7f
Author: Michael Scherer <misc at redhat.com>
Date: Sun Feb 19 16:38:24 2017 +0100
Remove the useless goto
ret cannot be 0, since the error code for gf_store_save_value is
-1. And the label of the goto is just after the goto, so that's
deadcode.
Change-Id: I227bca41f4d0755891b8e6e0f4cb2ce004615a35
BUG: 1424809
Signed-off-by: Michael Scherer <misc at redhat.com>
Reviewed-on: https://review.gluster.org/16674
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
Tested-by: Nigel Babu <nigelb at redhat.com>
Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Prashanth Pai <ppai at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
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