From f84232d30a247584366b87c91baf9a9f70a5cc49 Mon Sep 17 00:00:00 2001 From: Alexander Chemeris Date: Thu, 30 Jul 2015 19:59:56 -0400 Subject: Common: Get rid of a compilation warning. debugLogEarly was replaced to an empty space and arguments of the function became operators, grouped together by (): Configuration.cpp: In member function 'bool ConfigurationTable::defines(const string&)': Configuration.cpp:272:28: warning: left operand of comma operator has no effect [-Wunused-value] debugLogEarly(LOG_ALERT, "configuration parameter %s not found", key.c_str()); ^ This fix removes debugLogEarly together with its arguments. --- CommonLibs/Configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CommonLibs') diff --git a/CommonLibs/Configuration.cpp b/CommonLibs/Configuration.cpp index bda6865..8cbfcb0 100644 --- a/CommonLibs/Configuration.cpp +++ b/CommonLibs/Configuration.cpp @@ -35,7 +35,7 @@ #ifdef DEBUG_CONFIG #define debugLogEarly gLogEarly #else -#define debugLogEarly +#define debugLogEarly(x,y,z) #endif -- cgit v1.2.3