[style] relocate OT_UNUSED_VARIABLE (#3299)

This commit is contained in:
Jonathan Hui
2018-11-17 12:04:41 -08:00
parent f6afc5599a
commit e14d763e2e
70 changed files with 570 additions and 383 deletions
+2 -1
View File
@@ -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;
}