[haiku-bugs] Re: [Haiku] #10381: Fix coverity CID 611220: unchecked dynamic_cast

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Mon, 06 Jan 2014 00:52:14 -0000

#10381: Fix coverity CID 611220: unchecked dynamic_cast
-------------------------------------+----------------------------
   Reporter:  noryb009               |      Owner:  anevilyak
       Type:  bug                    |     Status:  closed
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:  invalid                |   Keywords:  gci2013
 Blocked By:                         |   Blocking:
Has a Patch:  1                      |   Platform:  All
-------------------------------------+----------------------------
Changes (by anevilyak):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is a case where Coverity is technically correct, but not practically.
 The check for TYPE_ENUMERATION already accomplishes the same thing.

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

Other related posts: