add parenthesis around truth value to quieten compiler

This commit is contained in:
Isaac Connor 2017-06-29 15:41:21 -04:00
parent 7ecce473f6
commit 121aba0308
1 changed files with 1 additions and 1 deletions

View File

@ -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;