[RTEMS Project] #2890: _RBTree_Initialize_node generates warnings

RTEMS trac trac at rtems.org
Mon Jan 30 11:06:39 UTC 2017


#2890: _RBTree_Initialize_node generates warnings
----------------------------+------------------
 Reporter:  stavros.passas  |      Owner:
     Type:  defect          |     Status:  new
 Priority:  low             |  Milestone:  4.12
Component:  cpukit          |    Version:  4.12
 Severity:  trivial         |   Keywords:
----------------------------+------------------
 Currently, when _RBTree_Initialize_node is used, it generates warnings of
 unused variables. I traced the issue down to the variable being used only
 if RTEMS_DEBUG is set.

 Thus, the argument should be marked as RTEMS_UNUSED, if RTENS_DEBUG is not
 set.

--
Ticket URL: <http://devel.rtems.org/ticket/2890>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list