mirror of
https://github.com/espressif/openthread.git
synced 2026-08-25 19:59:51 +00:00
Modify IAR OT_UNUSED_VARIABLE macro. (#1936)
This commit is contained in:
committed by
Jonathan Hui
parent
c79a905528
commit
91b394f423
@@ -215,7 +215,7 @@ extern "C" {
|
||||
#define OT_UNUSED_VARIABLE(VARIABLE) \
|
||||
do \
|
||||
{ \
|
||||
if (VARIABLE) {} \
|
||||
if (&VARIABLE == NULL) {} \
|
||||
} while (false)
|
||||
|
||||
#define OT_UNREACHABLE_CODE(CODE) \
|
||||
|
||||
Reference in New Issue
Block a user