Skip to content

Commit

Permalink
add parenthesis around truth value to quieten compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Jun 29, 2017
1 parent 7ecce47 commit 121aba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zm_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 121aba0

Please sign in to comment.