diff --git a/s/chunk.cpp b/s/chunk.cpp index c6ab2fe0491..3a181d4fe52 100644 --- a/s/chunk.cpp +++ b/s/chunk.cpp @@ -279,7 +279,7 @@ namespace mongo { // sanity check. if ( splitPoint.empty() || _min == splitPoint.front() || _max == splitPoint.front() ) { log() << "want to split chunk, but can't find split point chunk " << toString() - << " got: " << ( true ? "" : splitPoint.front().toString() ) << endl; + << " got: " << ( splitPoint.empty() ? "" : splitPoint.front().toString() ) << endl; return ChunkPtr(); }