New Defects reported by Coverity Scan for RTEMS
scan-admin at coverity.com
scan-admin at coverity.com
Fri Aug 5 05:21:06 UTC 2022
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 1507760: Control flow issues (DEADCODE)
/cpukit/posix/src/clocknanosleep.c: 131 in clock_nanosleep()
________________________________________________________________________________________________________
*** CID 1507760: Control flow issues (DEADCODE)
/cpukit/posix/src/clocknanosleep.c: 131 in clock_nanosleep()
125 #if defined( RTEMS_POSIX_API )
126 if ( eno == EINTR ) {
127 struct timespec actual_end;
128 struct timespec planned_end;
129
130 if ( clock_id == CLOCK_REALTIME ) {
>>> CID 1507760: Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "_Timecounter_Nanotime(&actu...".
131 _Timecounter_Nanotime( &actual_end );
132 } else {
133 _Timecounter_Nanouptime( &actual_end );
134 }
135
136 _Watchdog_Ticks_to_timespec(
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypUUzi-2FdSNmuyRB7BEFT8xQ4-2B8hpujh0hTgQljRGId4Dg-3D-3DPH8j_EU3W9teASMK00lBXX9WT4lsogDrkCcNZLvg-2FVxwAXMrHQPhIoRQeO3VAYq9IyfpZ9Kwx2bhaaqT-2BNJAr8KBFQXjdT-2Fkp8HRD16u4BqSFEau7moMvG1TEyipMeWw-2FUtANBiGHu25gWO33FJjKYm0lQRcR8ZzaDw654wBfHUCIHdWffh7oq3VB6jQc0uAzP94BISxHvaZN61aZccdDYLlRbQ-3D-3D
More information about the build
mailing list