[Gluster-devel] Fwd: New Defects reported by Coverity Scan for GlusterFS

Lalatendu Mohanty lmohanty at redhat.com
Thu Apr 3 03:01:37 UTC 2014




-------- Original Message --------
Subject: 	New Defects reported by Coverity Scan for GlusterFS
Date: 	Wed, 02 Apr 2014 13:22:24 -0700
From: 	scan-admin at coverity.com



Hi,


Please find the latest report on new defect(s) introduced to GlusterFS found with Coverity Scan.

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1195423:  Logically dead code  (DEADCODE)
/cli/src/cli-cmd-parser.c: 1188 in cli_cmd_volume_remove_brick_parse()


________________________________________________________________________________________________________
*** CID 1195423:  Logically dead code  (DEADCODE)
/cli/src/cli-cmd-parser.c: 1188 in cli_cmd_volume_remove_brick_parse()
1182                             ret = -1;
1183                             goto out;
1184                     }
1185             }
1186
1187             if (wordcount < 4) {
>>>     CID 1195423:  Logically dead code  (DEADCODE)
>>>     Execution cannot reach this statement "ret = -1;".
1188                     ret = -1;
1189                     goto out;
1190             }
1191
1192             ret = dict_set_int32 (dict, "command", command);
1193             if (ret)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/987?tab=Overview

To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140403/7337998b/attachment-0001.html>


More information about the Gluster-devel mailing list