New Defects reported by Coverity Scan for RTEMS
scan-admin at coverity.com
scan-admin at coverity.com
Fri Aug 2 21:27:12 UTC 2024
Hi,
Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.
1 new defect(s) introduced to RTEMS found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1616018: Control flow issues (DEADCODE)
/cpukit/posix/src/aio_fsync.c: 83 in aio_fsync()
________________________________________________________________________________________________________
*** CID 1616018: Control flow issues (DEADCODE)
/cpukit/posix/src/aio_fsync.c: 83 in aio_fsync()
77 rtems_set_errno_and_return_minus_one( EAGAIN );
78
79 req->aiocbp = aiocbp;
80 if ( op == O_SYNC ) {
81 req->op_type = AIO_OP_SYNC;
82 } else {
>>> CID 1616018: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "req->op_type = 3;".
83 req->op_type = AIO_OP_DSYNC;
84 }
85
86 return rtems_aio_enqueue( req );
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu5GLWnGNEwbhcanGyCDC8W1qxs1XK9M9KkPO5PqDYA-2Faw-3D-3DEhXN_hOQomnwXvo7ZPjrovRgF1EWfSixaZuumKeNh4wRoLrl445bKwS1wNko9hUpyTVN4Vj8daue7qaqzNKEsFDuxJ-2F7eK-2Fwf-2F5zQfqHcC2VxjlUvO-2F75idkXSLsoISCiH8VV16UDg-2FMHLuHy-2FTbhbwdi7Q4etwJS6e3LDKWIvuXyWzfyxjAlrAWg4XbKtmYh7u7Nd8gQ4RGPL0ofKfps-2FAL-2BVQ-3D-3D
More information about the build
mailing list