2025-05-07 01:15 ftp://ftp.de.debian.org/debian/pool/main/p/pbzip2/pbzip2_1.1.13.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 135 135 elapsed-time: 0.6 0.7 head-timing-info: old-timing-info: head results: pbzip2-1.1.13/ErrorContext.cpp:26:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/ErrorContext.cpp:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::qData' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::size' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::head' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::tail' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::full' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::empty' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::topLevelFull' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::topLevelEmpty' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::mut' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::notFull' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::notEmpty' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/pbzip2.h:148:2: warning: Member variable 'queue::consumers' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/ErrorContext.cpp:55:20: style:inconclusive: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. [functionConst] pbzip2-1.1.13/ErrorContext.h:36:7: note: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. pbzip2-1.1.13/ErrorContext.cpp:55:20: note: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. pbzip2-1.1.13/pbzip2.h:106:2: style: Struct 'outBuff' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pbzip2-1.1.13/BZ2StreamScanner.cpp:70:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/BZ2StreamScanner.cpp:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/BZ2StreamScanner.cpp:579:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/BZ2StreamScanner.cpp:26:19: warning: Member variable 'BZ2StreamScanner::_outBuffCapacity' is not initialized in the constructor. [uninitMemberVar] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_hInFile' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning:inconclusive: Member variable 'BZ2StreamScanner::_eof' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning:inconclusive: Member variable 'BZ2StreamScanner::_bz2Header' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning:inconclusive: Member variable 'BZ2StreamScanner::_bz2HeaderZero' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning:inconclusive: Member variable 'BZ2StreamScanner::_bz2HeaderFound' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning:inconclusive: Member variable 'BZ2StreamScanner::_searchStatus' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_inBuff' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_inBuffEnd' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_inBuffCurrent' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_inBuffSearchPtr' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_inBuffCapacity' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_outBuffCapacity' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_outBuffCapacityHint' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_outBuffCapacityLimit' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_errState' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_outSequenceNumber' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:75:2: warning: Member variable 'BZ2StreamScanner::_streamNumber' is not initialized in the copy constructor. [uninitMemberVarPrivate] pbzip2-1.1.13/BZ2StreamScanner.h:50:7: style:inconclusive: Technically the member function 'pbzip2::BZ2StreamScanner::failed' can be const. [functionConst] pbzip2-1.1.13/BZ2StreamScanner.h:67:15: style: Virtual function 'dispose' is called from constructor 'BZ2StreamScanner(int hInFile,long inBuffCapacity=DEFAULT_IN_BUFF_CAPACITY)' at line 33. Dynamic binding is not used. [virtualCallInConstructor] pbzip2-1.1.13/BZ2StreamScanner.cpp:33:2: note: Calling init pbzip2-1.1.13/BZ2StreamScanner.cpp:43:2: note: Calling dispose pbzip2-1.1.13/BZ2StreamScanner.h:67:15: note: dispose is a virtual function pbzip2-1.1.13/BZ2StreamScanner.h:67:15: style: Virtual function 'dispose' is called from destructor '~BZ2StreamScanner()' at line 105. Dynamic binding is not used. [virtualCallInConstructor] pbzip2-1.1.13/BZ2StreamScanner.cpp:105:2: note: Calling dispose pbzip2-1.1.13/BZ2StreamScanner.h:67:15: note: dispose is a virtual function pbzip2-1.1.13/BZ2StreamScanner.h:38:2: style: Class 'BZ2StreamScanner' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] pbzip2-1.1.13/pbzip2.cpp:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:183:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:197:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:211:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:224:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:262:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:335:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:385:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:396:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:414:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:441:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:637:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:824:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:858:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_STREAM_END [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:882:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_STREAM_END [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:920:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:936:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1006:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1053:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1093:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1223:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1431:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1799:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:1916:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2088:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2106:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_MAX_UNUSED [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2425:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2585:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2632:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2680:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2797:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2947:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2996:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_MAX_UNUSED [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:3210:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:3226:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:3385:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] pbzip2-1.1.13/pbzip2.cpp:2759:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pbzip2-1.1.13/pbzip2.cpp:3148:8: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] pbzip2-1.1.13/pbzip2.cpp:1957:17: style: Condition 'FileData!=NULL' is always true [knownConditionTrueFalse] pbzip2-1.1.13/pbzip2.cpp:1964:17: style: Condition 'FileData!=NULL' is always true [knownConditionTrueFalse] pbzip2-1.1.13/pbzip2.cpp:1988:17: style: Condition 'FileData!=NULL' is always true [knownConditionTrueFalse] pbzip2-1.1.13/pbzip2.cpp:2442:17: style: Condition 'FileData!=NULL' is always true [knownConditionTrueFalse] pbzip2-1.1.13/pbzip2.cpp:2449:17: style: Condition 'FileData!=NULL' is always true [knownConditionTrueFalse] pbzip2-1.1.13/pbzip2.cpp:359:3: error: Resource handle 'fh' freed twice. [doubleFree] pbzip2-1.1.13/pbzip2.cpp:355:13: note: Resource handle 'fh' freed twice. pbzip2-1.1.13/pbzip2.cpp:359:3: note: Resource handle 'fh' freed twice. pbzip2-1.1.13/pbzip2.cpp:290:22: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:314:15: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:1340:17: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:1615:16: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:1951:27: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:2279:36: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:2435:26: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:2531:10: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:3065:36: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:4262:71: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:4335:71: style: C-style pointer casting [cstyleCast] pbzip2-1.1.13/pbzip2.cpp:3198:11: style: The comparison 'ncpu < 1' is always false. [knownConditionTrueFalse] pbzip2-1.1.13/pbzip2.cpp:3179:9: note: 'ncpu' is assigned value '1' here. pbzip2-1.1.13/pbzip2.cpp:3198:11: note: The comparison 'ncpu < 1' is always false. pbzip2-1.1.13/pbzip2.cpp:1071:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] pbzip2-1.1.13/pbzip2.cpp:1060:7: note: ret is assigned pbzip2-1.1.13/pbzip2.cpp:1071:6: note: ret is overwritten pbzip2-1.1.13/pbzip2.cpp:3544:16: style: Variable 'blockSize' is reassigned a value before the old one has been used. [redundantAssignment] pbzip2-1.1.13/pbzip2.cpp:3531:82: note: blockSize is assigned pbzip2-1.1.13/pbzip2.cpp:3544:16: note: blockSize is overwritten pbzip2-1.1.13/pbzip2.cpp:3568:16: style: Variable 'maxMemory' is reassigned a value before the old one has been used. [redundantAssignment] pbzip2-1.1.13/pbzip2.cpp:3555:82: note: maxMemory is assigned pbzip2-1.1.13/pbzip2.cpp:3568:16: note: maxMemory is overwritten pbzip2-1.1.13/pbzip2.cpp:1345:15: style: The scope of the variable 'outSize' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:1349:6: style: The scope of the variable 'errState' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:1884:6: style: The scope of the variable 'rret' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:1885:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:2367:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:2393:9: style: The scope of the variable 'inSize' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:2395:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:2529:6: style: The scope of the variable 'ret' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:2998:13: style: The scope of the variable 'nread' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:3284:7: style: The scope of the variable 'hasInFile' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:3300:6: style: The scope of the variable 'numCPUidle' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:3329:7: style: The scope of the variable 'switchedMtToSt' can be reduced. [variableScope] pbzip2-1.1.13/pbzip2.cpp:3221:18: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] pbzip2-1.1.13/pbzip2.cpp:1066:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1071:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1345:23: style: Variable 'outSize' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1349:15: style: Variable 'errState' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1879:15: style: Variable 'inSize' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1880:23: style: Variable 'outSize' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1884:11: style: Variable 'rret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:1885:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:2066:11: style: Variable 'inSize' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:2393:16: style: Variable 'inSize' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:2395:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:2527:23: style: Variable 'outSize' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:2529:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:3048:10: style: Variable 'nread' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4153:27: style: Variable 'errLevelCurrentFile' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4175:26: style: Variable 'errLevelCurrentFile' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4257:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4267:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4286:27: style: Variable 'errLevelCurrentFile' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4286:38: style: Variable 'errLevel' is assigned a value that is never used. [unreadVariable] pbzip2-1.1.13/pbzip2.cpp:4287:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] diff: head pbzip2-1.1.13/ErrorContext.cpp:55:20: style:inconclusive: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. [functionConst] pbzip2-1.1.13/ErrorContext.h:36:7: note: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. pbzip2-1.1.13/ErrorContext.cpp:55:20: note: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. 2.17.0 pbzip2-1.1.13/ErrorContext.h:36:7: style:inconclusive: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. [functionConst] pbzip2-1.1.13/ErrorContext.cpp:55:20: note: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. pbzip2-1.1.13/ErrorContext.h:36:7: note: Technically the member function 'pbzip2::ErrorContext::printErrorMessages' can be const. DONE