Fixed: @44,18: unused variable 'tid' [-Wunused-variable]

pull/8341/head
Deepika 2018-08-27 10:32:35 -05:00 committed by adbridge
parent d88d19e620
commit 6bcfdb91be
1 changed files with 0 additions and 2 deletions

View File

@ -55,8 +55,6 @@ __NO_RETURN void osRtxIdleThread(void *argument)
__NO_RETURN uint32_t osRtxErrorNotify(uint32_t code, void *object_id) __NO_RETURN uint32_t osRtxErrorNotify(uint32_t code, void *object_id)
{ {
osThreadId_t tid = osThreadGetId();
switch (code) { switch (code) {
case osRtxErrorStackUnderflow: case osRtxErrorStackUnderflow:
// Stack underflow detected for thread (thread_id=object_id) // Stack underflow detected for thread (thread_id=object_id)