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

pull/7901/head
Deepika 2018-08-27 10:32:35 -05:00
parent 7c22dca302
commit b9ba27b3ee
1 changed files with 0 additions and 2 deletions

View File

@ -41,8 +41,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)