[RTEMS Project] #4862: score/ & bsps/: Unused input parameters

RTEMS trac trac at rtems.org
Tue Jul 18 19:55:24 UTC 2023


#4862: score/ & bsps/: Unused input parameters
---------------------------+------------------------------
 Reporter:  Daniel Páscoa  |       Owner:  Sebastian Huber
     Type:  enhancement    |      Status:  assigned
 Priority:  normal         |   Milestone:  6.1
Component:  unspecified    |     Version:  6
 Severity:  normal         |  Resolution:
 Keywords:  qualification  |  Blocked By:
 Blocking:                 |
---------------------------+------------------------------

Comment (by Sebastian Huber):

 There are two obvious reasons, why some of these functions have unused
 parameters:

 1. When functions are used through function pointers, then they may have
 unused parameters since other functions may need the parameter. Only if
 the parameter is unused in all functions associated with a function
 pointer, the parameter is really superfluous.

 2. API backwards compatibility.

 Could you please remove these false positives from the list.

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


More information about the bugs mailing list