mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
cpukit: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
a9a8c963e4
commit
34f9c5690d
@@ -165,6 +165,8 @@ rtems_debugger_thread_find_index(rtems_id id)
|
||||
static bool
|
||||
snapshot_thread(rtems_tcb* tcb, void* arg)
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
rtems_debugger_threads* threads = rtems_debugger->threads;
|
||||
rtems_id id = tcb->Object.id;
|
||||
char name[RTEMS_DEBUGGER_THREAD_NAME_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user