[rtems commit] bsps: Fix warning
Sebastian Huber
sebh at rtems.org
Wed Jul 19 12:38:19 UTC 2017
Module: rtems
Branch: master
Commit: dcc3ccc0a038ea949da5e6e788ef4ddeff4c21a0
Changeset: http://git.rtems.org/rtems/commit/?id=dcc3ccc0a038ea949da5e6e788ef4ddeff4c21a0
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jul 19 14:26:19 2017 +0200
bsps: Fix warning
Update #3071.
---
c/src/lib/libbsp/shared/src/irq-server.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/c/src/lib/libbsp/shared/src/irq-server.c b/c/src/lib/libbsp/shared/src/irq-server.c
index a7b277c..f94f0dc 100644
--- a/c/src/lib/libbsp/shared/src/irq-server.c
+++ b/c/src/lib/libbsp/shared/src/irq-server.c
@@ -710,6 +710,9 @@ static void bsp_interrupt_server_handler_move_helper(void *arg)
bsp_interrupt_server_context *dst = hihd->arg;
bool pending;
+ /* The source server is only used in SMP configurations for the lock */
+ (void) src;
+
rtems_interrupt_lock_acquire(&src->lock, &lock_context);
pending = !rtems_chain_is_node_off_chain(&e->node);
More information about the vc
mailing list