diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-30 19:59:56 -0400 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2016-03-25 18:47:27 +0300 |
commit | cd3d0e616d1b2e7a38e81e29a643210d8bc57151 (patch) | |
tree | 5737febf283643a78d0cd140c4310e4444a14e21 | |
parent | 9bd649ec7316457cffe93b9c02d1de1ce2294a21 (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 |