From 6bcfdb91be28ff01af953f3fbbb7826c81701800 Mon Sep 17 00:00:00 2001 From: Deepika Date: Mon, 27 Aug 2018 10:32:35 -0500 Subject: [PATCH] Fixed: @44,18: unused variable 'tid' [-Wunused-variable] --- rtos/TARGET_CORTEX/mbed_rtx_handlers.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rtos/TARGET_CORTEX/mbed_rtx_handlers.c b/rtos/TARGET_CORTEX/mbed_rtx_handlers.c index 8afa16c8fb..f0b2ad7402 100644 --- a/rtos/TARGET_CORTEX/mbed_rtx_handlers.c +++ b/rtos/TARGET_CORTEX/mbed_rtx_handlers.c @@ -55,8 +55,6 @@ __NO_RETURN void osRtxIdleThread(void *argument) __NO_RETURN uint32_t osRtxErrorNotify(uint32_t code, void *object_id) { - osThreadId_t tid = osThreadGetId(); - switch (code) { case osRtxErrorStackUnderflow: // Stack underflow detected for thread (thread_id=object_id)