[RTEMS Project] #2878: src/c/src/lib/libbsp/sparc/shared/can/occan.c:1573: broken error checking ?

RTEMS trac trac at rtems.org
Tue Aug 22 08:35:33 UTC 2017


#2878: src/c/src/lib/libbsp/sparc/shared/can/occan.c:1573: broken error checking ?
-----------------------------+-------------------------------
 Reporter:  David Binderman  |       Owner:  Daniel Hellstrom
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  4.12.0
Component:  General          |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-------------------------------

Comment (by Daniel Hellstrom):

 Hi,
 This might not generated a warning because it is part of dead code that
 will never be reached due to the return statement just above. I have made
 a patch to remove this dead code, it will close this ticket.

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


More information about the bugs mailing list