diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-30 19:59:56 -0400 |
---|---|---|
committer | Tom Tsou <tom.tsou@ettus.com> | 2016-04-20 12:26:57 -0700 |
commit | f84232d30a247584366b87c91baf9a9f70a5cc49 (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 |