[RTEMS Project] #4278: cpuusagetop.c: Missing break in switch errors spotted by Coverity

RTEMS trac trac at rtems.org
Fri Mar 5 20:19:50 UTC 2021


#4278: cpuusagetop.c: Missing break in switch errors spotted by Coverity
-----------------------+--------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  6.1
Component:  lib        |     Version:  6
 Severity:  normal     |  Resolution:  fixed
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+--------------------------------------
Changes (by Ryan Long <ryan.long@…>):

 * owner:  (none) => Ryan Long <ryan.long@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c7eb89f82b4c0572917cc7bc31dfecb08a6685ee/rtems"
 c7eb89f8/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="c7eb89f82b4c0572917cc7bc31dfecb08a6685ee"
 cpuusagetop.c: Fix three Missing break in switch Coverity errors

 CID 1399726: Missing break in switch in task_usage().
 CID 1399728: Missing break in switch in task_usage().
 CID 1399742: Missing break in switch in task_usage().

 Closes #4278
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4278#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list