[RTEMS Project] #2709: comm/i386-stub.c:1025: possible missing break ?

RTEMS trac trac at rtems.org
Sat May 14 15:22:30 UTC 2016


#2709: comm/i386-stub.c:1025: possible missing break ?
---------------------+--------------------
 Reporter:  dcb      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.11.1
Component:  General  |    Version:  4.10
 Severity:  normal   |   Keywords:
---------------------+--------------------
 rtems/c/src/lib/libbsp/i386/shared/comm/i386-stub.c:1025] ->
 [rtems/c/src/lib/libbsp/i386/shared/comm/i386-stub.c:1029]: (warning)
 Variable 'reg' is reassigned a value before the old one has been used.
 'break;' missing?

 Source code is

         case '2':
           reg = 1;
         case '3':
         case '4':
         default:

--
Ticket URL: <http://devel.rtems.org/ticket/2709>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list