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

Lalatendu Mohanty lmohanty at redhat.com
Mon Feb 3 18:16:39 UTC 2014




-------- Original Message --------
Subject: 	New Defects reported by Coverity Scan for GlusterFS
Date: 	Mon, 03 Feb 2014 09:36:03 -0800
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 1167461:  Logically dead code  (DEADCODE)
/glusterfsd/src/glusterfsd.c: 1516 in glusterfs_pidfile_setup()


________________________________________________________________________________________________________
*** CID 1167461:  Logically dead code  (DEADCODE)
/glusterfsd/src/glusterfsd.c: 1516 in glusterfs_pidfile_setup()
1510
1511             ctx->pidfp = pidfp;
1512
1513             ret = 0;
1514     out:
1515             if (ret && pidfp)
>>>     CID 1167461:  Logically dead code  (DEADCODE)
>>>     Execution cannot reach this statement "fclose(pidfp);".
1516                     fclose (pidfp);
1517
1518             return ret;
1519     }
1520
1521


________________________________________________________________________________________________________
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/20140203/ff93eaeb/attachment-0001.html>


More information about the Gluster-devel mailing list