mirror of
https://github.com/espressif/openthread.git
synced 2026-08-01 00:27:47 +00:00
[style] relocate OT_UNUSED_VARIABLE (#3299)
This commit is contained in:
@@ -53,6 +53,8 @@ otLogLevel otLoggingGetLevel(void)
|
||||
|
||||
otError otLoggingSetLevel(otLogLevel aLogLevel)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aLogLevel);
|
||||
|
||||
otError error = OT_ERROR_DISABLED_FEATURE;
|
||||
|
||||
#if OPENTHREAD_CONFIG_ENABLE_DYNAMIC_LOG_LEVEL
|
||||
@@ -64,6 +66,5 @@ otError otLoggingSetLevel(otLogLevel aLogLevel)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
OT_UNUSED_VARIABLE(aLogLevel);
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user