Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#2237 closed defect (fixed)

powerpc/shared/include/cpuIdent.c:196: possible missing break ?

Reported by: David Binderman Owned by: Sebastian Huber <sebastian.huber@…>
Priority: normal Milestone: 4.11
Component: unspecified Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

[rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c:205]: (warning) Variable 'is_bookE' is reassigned a value before the old one has been used. 'break;' missing?

Source code is

case PPC_440:

current_ppc_features.is_bookE = PPC_BOOKE_STD;

case PPC_8540:
case PPC_e200z0:
case PPC_e200z1:
case PPC_e200z4:

Change History (1)

comment:1 Changed on 01/23/15 at 10:33:11 by Sebastian Huber <sebastian.huber@…>

Owner: set to Sebastian Huber <sebastian.huber@…>
Resolution: fixed
Status: newclosed

In [changeset:"f63e9a3aa89bd6b39dd1b877b50c473620cdc789/rtems"]:

bsps/powerpc: Fix switch statement in CPU ident

Close #2237.

Note: See TracTickets for help on using tickets.