Skip to content

Commit b9ba27b

Browse files
author
Deepika
committed
Fixed: @44,18: unused variable 'tid' [-Wunused-variable]
1 parent 7c22dca commit b9ba27b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

rtos/TARGET_CORTEX/mbed_rtx_handlers.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ __NO_RETURN void osRtxIdleThread (void *argument)
4141

4242
__NO_RETURN uint32_t osRtxErrorNotify (uint32_t code, void *object_id)
4343
{
44-
osThreadId_t tid = osThreadGetId();
45-
4644
switch (code) {
4745
case osRtxErrorStackUnderflow:
4846
// Stack underflow detected for thread (thread_id=object_id)

0 commit comments

Comments
 (0)