From d99d3907dfb95ccce17b2d477d7488ddd98d990a Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Mon, 12 Jun 2017 17:03:08 +0100 Subject: [PATCH] core: fix optimized build broken in changeset 12922:d5736db31887 --- src/core/model/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/model/log.h b/src/core/model/log.h index cab4a8372..62ebbc166 100644 --- a/src/core/model/log.h +++ b/src/core/model/log.h @@ -243,7 +243,7 @@ void LogComponentDisableAll (enum LogLevel level); * \param [in] name The log component name. */ #define NS_LOG_STATIC_TEMPLATE_DEFINE(name) \ - static LogComponent & g_log = GetLogComponent (name) + static LogComponent & NS_UNUSED_GLOBAL (g_log) = GetLogComponent (name) /** * Use \ref NS_LOG to output a message of level LOG_ERROR.