diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-30 19:59:56 -0400 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-09-10 19:57:03 -0400 |
commit | 7d2866164b64d596e28f814ab0731d30074f94f4 (patch) | |
tree | 142b3e704ac29ee7ace198626762f2fb47d9274b | |
parent | a0f8ed8ecb6d58e85fc53c3086d235dc044e2035 (diff) |
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.
-rw-r--r-- | CommonLibs/Configuration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |