summaryrefslogtreecommitdiff
path: root/core/cortex-m/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m/task.c')
-rw-r--r--core/cortex-m/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/task.c b/core/cortex-m/task.c
index c0cbc84d59..5e309ef4cb 100644
--- a/core/cortex-m/task.c
+++ b/core/cortex-m/task.c
@@ -330,7 +330,7 @@ static uint32_t __wait_evt(int timeout_us, task_id_t resched)
task_ *tsk = current_task;
task_id_t me = tsk - tasks;
uint32_t evt;
- int ret;
+ int ret __attribute__((unused));
ASSERT(!in_interrupt_context());