[RTEMS Project] #2405: CppCheck errors being reported throughout the code

RTEMS trac trac at rtems.org
Thu Sep 3 20:43:14 UTC 2015


#2405: CppCheck errors being reported throughout the code
---------------------------+----------------------------------------------
 Reporter:  martin.galvan  |       Owner:  Martin Galvan <martin.galvan@…>
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.11
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |
---------------------------+----------------------------------------------

Comment (by Martin Galvan <martin.galvan@…>):

 In [changeset:"efb798e16ef9719b63e428e55eb039ffc79d11a0/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="efb798e16ef9719b63e428e55eb039ffc79d11a0"
 cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation error

 Apparently 'free' is defined as a macro which takes two arguments and
 calls
 rtems_bsdnet_free. When fixing #2405 I added a missing 'free' but didn't
 notice
 it was non-standard.

 Closes #2410.
 }}}

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


More information about the bugs mailing list