Coverity-updates archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New Defects reported by Coverity Scan for NetBSD-i386-kernel
- To: undisclosed-recipients:;
- Subject: New Defects reported by Coverity Scan for NetBSD-i386-kernel
- From: scan-admin%coverity.com@localhost
- Date: Sun, 18 May 2014 23:43:39 -0700
Hi,
Please find the latest report on new defect(s) introduced to NetBSD-i386-kernel
found with Coverity Scan.
Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1214607: Logically dead code (DEADCODE)
/sys/ufs/lfs/lfs_vnops.c: 1080 in lfs_mkdir()
________________________________________________________________________________________________________
*** CID 1214607: Logically dead code (DEADCODE)
/sys/ufs/lfs/lfs_vnops.c: 1080 in lfs_mkdir()
1074 #endif
1075 {
1076 dirtemplate.dot_type = dirtemplate.dot_namlen;
1077 dirtemplate.dotdot_type =
dirtemplate.dotdot_namlen;
1078 dirtemplate.dot_namlen =
dirtemplate.dotdot_namlen = 0;
1079 } else
>>> CID 1214607: Logically dead code (DEADCODE)
>>> Execution cannot reach this statement "dirtemplate.dot_type = dirt...".
1080 dirtemplate.dot_type = dirtemplate.dotdot_type
= 0;
1081 }
1082 if ((error = lfs_balloc(tvp, (off_t)0, dirblksiz, cnp->cn_cred,
1083 B_CLRBUF, &bp)) != 0)
1084 goto bad;
1085 ip->i_size = dirblksiz;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
http://scan.coverity.com/projects/1450?tab=overview
To unsubscribe from the email notification for new defects,
http://scan5.coverity.com/cgi-bin/unsubscribe.py
Home |
Main Index |
Thread Index |
Old Index