diff options
Diffstat (limited to 'nrep_stats.cc')
-rw-r--r-- | nrep_stats.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nrep_stats.cc b/nrep_stats.cc index 746a3bc..fda861a 100644 --- a/nrep_stats.cc +++ b/nrep_stats.cc @@ -44,11 +44,11 @@ int print_nrep_stats( const std::vector< std::string > & filenames, unsigned long long lzma_size = 0; // total size of LZMA data unsigned long best_pos = 0; int best_name = -1, retval = 0; - const bool count_all = ( repeated_byte < 0 || repeated_byte >= 256 ); + const bool count_all = repeated_byte < 0 || repeated_byte >= 256; bool stdin_used = false; for( unsigned i = 0; i < filenames.size(); ++i ) { - const bool from_stdin = ( filenames[i] == "-" ); + const bool from_stdin = filenames[i] == "-"; if( from_stdin ) { if( stdin_used ) continue; else stdin_used = true; } const char * const input_filename = from_stdin ? "(stdin)" : filenames[i].c_str(); |