aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-07-30 19:59:56 -0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-09-10 19:57:03 -0400
commit7d2866164b64d596e28f814ab0731d30074f94f4 (patch)
tree142b3e704ac29ee7ace198626762f2fb47d9274b
parenta0f8ed8ecb6d58e85fc53c3086d235dc044e2035 (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.cpp2
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