add parenthesis around truth value to quieten compiler
This commit is contained in:
parent
7ecce473f6
commit
121aba0308
|
@ -195,7 +195,7 @@ void Logger::initialise( const std::string &id, const Options &options ) {
|
|||
level( tempLevel );
|
||||
|
||||
mFlush = false;
|
||||
if (envPtr = getenv( "LOG_FLUSH")) {
|
||||
if ( (envPtr = getenv("LOG_FLUSH")) ) {
|
||||
mFlush = atoi( envPtr );
|
||||
} else if ( config.log_debug ) {
|
||||
mFlush = true;
|
||||
|
|
Loading…
Reference in New Issue