-innoextract/src/cli/extract.cpp:202:4: warning: variable 'sign' of type 'util::fstream::off_type' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:257:4: warning: variable 'n' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:342:2: warning: variable 'is_temp' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:347:2: warning: variable 'is_temp' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:380:3: warning: variable 'version_info_valid' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:452:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:464:2: warning: variable 'internal_dir' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:472:3: warning: variable 'existing' of type 'std::pair' (aka 'pair, (anonymous namespace)::processed_directory> *, false>, bool>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:497:2: warning: variable 'oldlength' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:506:3: warning: variable 'inserted' of type 'DirectoriesMap::iterator' (aka 'vec_iterator, (anonymous namespace)::processed_directory> *, false>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:549:2: warning: variable 'suffix' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:554:3: warning: variable 'insertion' of type 'std::pair' (aka 'pair, (anonymous namespace)::processed_file>, void *>, boost::unordered::detail::bucket, (anonymous namespace)::processed_file>, void *>, void *>>, bool>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:591:3: warning: variable 'ignore_component' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:631:2: warning: variable 'multiple_sections' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:662:3: warning: variable 'id' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:734:2: warning: variable 'includes' of type 'path_filter' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:755:3: warning: variable 'internal_path' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:757:3: warning: variable 'path_included' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:763:4: warning: variable 'existing' of type 'std::pair' (aka 'pair, (anonymous namespace)::processed_directory> *, false>, bool>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:800:3: warning: variable 'internal_path' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:802:3: warning: variable 'path_included' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:810:3: warning: variable 'insertion' of type 'std::pair' (aka 'pair, (anonymous namespace)::processed_file>, void *>, boost::unordered::detail::bucket, (anonymous namespace)::processed_file>, void *>, void *>>, bool>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:829:6: warning: variable 'oldlang' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:830:6: warning: variable 'newlang' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:999:2: warning: variable 'multiple_sections' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1066:5: warning: variable 'dir' of type 'fs::path' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1088:18: warning: variable 'location' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1113:4: warning: variable 'location' of type 'setup::data_entry &' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1124:4: warning: variable 'dir' of type 'fs::path' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1230:9: warning: variable 'size' of type 'boost::uint64_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1242:5: warning: variable 'updated' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1282:7: warning: variable 'it' of type 'multi_part_outputs::iterator' (aka 'ptr_map_iterator<_Rb_tree_iterator>, const (anonymous namespace)::processed_file *, (anonymous namespace)::file_output *const>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1311:5: warning: variable 'buffer_size' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1312:5: warning: variable 'n' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1315:7: warning: variable 'success' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/extract.cpp:1344:6: warning: variable 'output_checksum' of type 'crypto::checksum' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:64:2: warning: variable 'prefix_length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:192:2: warning: variable 'dir' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:230:2: warning: variable 'ret' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:358:4: warning: variable 'here' of type 'fs::path' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:371:5: warning: variable 'symlink' of type 'fs::path' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:501:2: warning: variable 'dir' of type 'boost::filesystem::path' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/gog.cpp:502:2: warning: variable 'basename' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:55:2: warning: variable 'start' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:60:2: warning: variable 'end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:65:2: warning: variable 'parenthesis' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:88:5: warning: variable 'string_end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:103:4: warning: variable 'token_end' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:166:3: warning: variable 'a' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:167:3: warning: variable 'b' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/goggalaxy.cpp:336:6: warning: variable 'compressed_size' of type 'boost::uint64_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:65:2: warning: variable 'pos' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:229:2: warning: variable 'color_i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:236:2: warning: variable 'progress_i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:259:2: warning: variable 'explicit_list' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:272:2: warning: variable 'explicit_action' of type 'bool' can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:294:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:296:4: warning: variable 'timezone_name' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:317:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:322:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:324:4: warning: variable 'collisions' of type 'std::string' (aka 'basic_string') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:340:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:348:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:355:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:370:3: warning: variable 'i' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:384:3: warning: variable 'password' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:385:3: warning: variable 'password_file' of type 'po::variables_map::const_iterator' (aka '_Rb_tree_const_iterator, boost::program_options::variable_value>>') can be declared 'const' [misc-const-correctness] -innoextract/src/cli/main.cpp:395:4: warning: variable 'file' of type 'fs::path' can be declared 'const' [misc-const-correctness] -innoextract/src/crypto/checksum.cpp:60:2: warning: variable 'old_fmtflags' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] -innoextract/src/crypto/iteratedhash.hpp:81:2: warning: variable 'old_count_lo' of type 'hash_word' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/crypto/iteratedhash.hpp:89:2: warning: variable 'num' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/crypto/iteratedhash.hpp:106:3: warning: variable 'left_over' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/crypto/iteratedhash.hpp:168:2: warning: variable 'order' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/crypto/iteratedhash.hpp:170:2: warning: variable 'size' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/loader/offsets.cpp:73:2: warning: variable 'magic' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/loader/offsets.cpp:83:2: warning: variable 'offset_table_offset' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/loader/offsets.cpp:84:2: warning: variable 'not_offset_table_offset' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/loader/offsets.cpp:146:3: warning: variable 'revision' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/loader/offsets.cpp:191:3: warning: variable 'expected' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/data.cpp:83:3: warning: variable 'time' of type 'boost::uint16_t' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/data.cpp:84:3: warning: variable 'date' of type 'boost::uint16_t' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/data.cpp:115:2: warning: variable 'file_version_ms' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/data.cpp:116:2: warning: variable 'file_version_ls' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/file.cpp:103:3: warning: variable 'copyMode' of type 'file_copy_mode' can be declared 'const' [misc-const-correctness] -innoextract/src/setup/header.cpp:425:3: warning: variable 'code_line_offset' of type 'boost::int32_t' (aka 'int') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/header.cpp:430:3: warning: variable 'val' of type 'auto_bool' can be declared 'const' [misc-const-correctness] -innoextract/src/setup/info.cpp:262:2: warning: variable 'start' of type 'std::streampos' (aka 'fpos<__mbstate_t>') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/info.cpp:289:4: warning: variable 'next_version' of type 'version_constant' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/setup/type.cpp:74:2: warning: variable 'options' of type 'type_flags' (aka 'flags') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:85:3: warning: variable 'temp_size' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:86:3: warning: variable 'nread' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:92:3: warning: variable 'block_crc32' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:121:4: warning: variable 'size' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:157:2: warning: variable 'expected_checksum' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:167:3: warning: variable 'compressed' of type 'boost::uint8_t' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:173:3: warning: variable 'compressed_size' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/block.cpp:174:3: warning: variable 'uncompressed_size' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/checksum.hpp:66:3: warning: variable 'nread' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/chunk.cpp:77:3: warning: variable 'length' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/chunk.cpp:159:3: warning: variable 'key_length' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/exefilter.hpp:206:4: warning: variable 'byte' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/stream/exefilter.hpp:229:3: warning: variable 'nread' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/exefilter.hpp:240:4: warning: variable 'addr' of type 'boost::uint32_t' (aka 'unsigned int') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/restrict.hpp:63:3: warning: variable 'nread' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:52:2: warning: variable 'max_size' of type 'std::streampos' (aka 'fpos<__mbstate_t>') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:54:2: warning: variable 'file_size' of type 'std::streampos' (aka 'fpos<__mbstate_t>') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:98:2: warning: variable 'file_size' of type 'std::streampos' (aka 'fpos<__mbstate_t>') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:150:3: warning: variable 'major' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:151:3: warning: variable 'minor' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:162:2: warning: variable 'end' of type 'boost::filesystem::directory_iterator' can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:164:3: warning: variable 'actual_filename' of type 'path_type' (aka 'boost::filesystem::path') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:179:2: warning: variable 'slice_file' of type 'path_type' (aka 'boost::filesystem::path') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:184:2: warning: variable 'slice_file2' of type 'path_type' (aka 'boost::filesystem::path') can be declared 'const' [misc-const-correctness] -innoextract/src/stream/slice.cpp:250:3: warning: variable 'read' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:274:2: warning: variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:276:2: warning: variable 'flags' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:278:2: warning: variable 'progress_length' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:282:3: warning: variable 'progress' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:313:2: warning: variable 'width' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:315:2: warning: variable 'flags' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:317:2: warning: variable 'progress_length' of type 'int' can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:321:3: warning: variable 'progress' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:370:3: warning: variable 'now' of type 'boost::posix_time::ptime' can be declared 'const' [misc-const-correctness] -innoextract/src/util/console.cpp:398:4: warning: variable 'rate' of type 'float' can be declared 'const' [misc-const-correctness] -innoextract/src/util/enum.hpp:89:3: warning: variable 'i' of type 'size_t' (aka 'unsigned long') can be declared 'const' [misc-const-correctness] -innoextract/src/util/enum.hpp:99:2: warning: variable 'prev' of type 'color::shell_command' can be declared 'const' [misc-const-correctness] -innoextract/src/util/load.hpp:215:2: warning: variable 'mask' of type 'UT' (aka 'unsigned short') can be declared 'const' [misc-const-correctness] -innoextract/src/util/log.cpp:35:2: warning: variable 'previous' of type 'color::shell_command' can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:46:2: warning: variable 'prev' of type 'color::shell_command' can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:49:3: warning: variable 'c' of type 'boost::uint8_t' (aka 'unsigned char') can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:51:4: warning: variable 'old' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:74:3: warning: variable 'prev' of type 'color::shell_command' can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:138:2: warning: variable 'old' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:157:2: warning: variable 'old' of type 'std::ios_base::fmtflags' (aka 'std::_Ios_Fmtflags') can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:158:2: warning: variable 'oldfill' of type 'char' can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:228:3: warning: variable 'num' of type 'float' can be declared 'const' [misc-const-correctness] -innoextract/src/util/output.hpp:229:3: warning: variable 'old_precision' of type 'std::streamsize' (aka 'long') can be declared 'const' [misc-const-correctness]