[haiku-bugs] Re: [Haiku] #11747: CID 30948: Missing break in switch

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 13 Jan 2015 07:35:52 -0000

#11747: CID 30948: Missing break in switch
-------------------------+----------------------------
   Reporter:  sli908     |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:  gci2014
 Blocked By:             |   Blocking:
Has a Patch:  1          |   Platform:  All
-------------------------+----------------------------

Comment (by pulkomandy):

 Are you sure this is needed? It looks like the fallthrough might be
 intentional because the handling of ? and * is similar.
 Moreover, the indenting of your "break" is wrong, if it is needed, it
 should be outside the "if" body.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11747#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: