mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-24 13:27:13 +00:00
cpukit/libtest/testparallel.c: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-paramter.
This commit is contained in:
committed by
Gedare Bloom
parent
ba04473bd7
commit
ae1dd64548
@@ -36,6 +36,8 @@
|
|||||||
|
|
||||||
static void stop_worker_timer(rtems_id timer_id, void *arg)
|
static void stop_worker_timer(rtems_id timer_id, void *arg)
|
||||||
{
|
{
|
||||||
|
(void) timer_id;
|
||||||
|
|
||||||
rtems_test_parallel_context *ctx = arg;
|
rtems_test_parallel_context *ctx = arg;
|
||||||
|
|
||||||
_Atomic_Store_ulong(&ctx->stop, 1, ATOMIC_ORDER_RELAXED);
|
_Atomic_Store_ulong(&ctx->stop, 1, ATOMIC_ORDER_RELAXED);
|
||||||
|
|||||||
Reference in New Issue
Block a user