2025-11-13 03:25 ftp://ftp.de.debian.org/debian/pool/main/a/apngopt/apngopt_1.4.orig.tar.xz 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 -j10 platform: Linux-6.14.11-4-pve-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: 9ab1585 (2025-11-12 10:13:54 +0100) count: 458 454 elapsed-time: 44.3 40.6 head-timing-info: old-timing-info: head results: 7z/InByte.cc:5:10: warning: Member variable 'CInByte::m_ProcessedSize' is not initialized in the constructor. [uninitMemberVar] 7z/InByte.cc:5:10: warning: Member variable 'CInByte::m_Buffer' is not initialized in the constructor. [uninitMemberVar] 7z/InByte.cc:5:10: warning: Member variable 'CInByte::m_BufferLimit' is not initialized in the constructor. [uninitMemberVar] 7z/InByte.cc:5:10: warning: Member variable 'CInByte::m_Stream' is not initialized in the constructor. [uninitMemberVar] 7z/InByte.cc:5:10: warning: Member variable 'CInByte::m_StreamWasExhausted' is not initialized in the constructor. [uninitMemberVar] 7z/InByte.h:11:9: style:inconclusive: Member variable 'CInByte::m_BufferBase' is in the wrong place in the initializer list. [initializerList] 7z/InByte.cc:7:3: note: Member variable 'CInByte::m_BufferBase' is in the wrong place in the initializer list. 7z/InByte.h:11:9: note: Member variable 'CInByte::m_BufferBase' is in the wrong place in the initializer list. 7z/InByte.cc:9:3: warning: Class 'CInByte' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 7z/InByte.cc:9:3: warning: Class 'CInByte' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 7z/InByte.h:21:3: style: Class 'CInByte' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 7z/InByte.h:44:24: style: C-style pointer casting [cstyleCast] 7z/AriBitCoder.h:36:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aNumMoveBits [valueFlowBailoutIncompleteVar] 7z/AriBitCoder.h:71:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aNumMoveBits [valueFlowBailoutIncompleteVar] 7z/LSBFDecoder.h:20:1: style: The class 'CDecoder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/CRC.cc:88:29: style: C-style pointer casting [cstyleCast] 7z/CRC.cc:98:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 7z/CRC.cc:85:45: style:inconclusive: Function 'Update' argument 2 names different: declaration 'aSize' definition 'aNum'. [funcArgNamesDifferent] 7z/CRC.h:13:41: note: Function 'Update' argument 2 names different: declaration 'aSize' definition 'aNum'. 7z/CRC.cc:85:45: note: Function 'Update' argument 2 names different: declaration 'aSize' definition 'aNum'. 7z/LSBFEncoder.h:10:1: style: The class 'CEncoder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/LSBFEncoder.h:37:1: style: The class 'CReverseEncoder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/OutByte.h:19:3: style: Class 'COutByte' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 7z/OutByte.h:34:18: style: C-style pointer casting [cstyleCast] 7z/DeflateDecoder.cc:21:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kTableDirectLevels [valueFlowBailoutIncompleteVar] 7z/DeflateDecoder.cc:50:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kFinalBlockFieldSize [valueFlowBailoutIncompleteVar] 7z/DeflateDecoder.cc:189:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchNumber [valueFlowBailoutIncompleteVar] 7z/HuffmanDecoder.h:35:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kValueTableBits [valueFlowBailoutIncompleteVar] 7z/HuffmanDecoder.h:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kValueTableBits [valueFlowBailoutIncompleteVar] 7z/LSBFDecoder.h:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBigValueBits [valueFlowBailoutIncompleteVar] 7z/LSBFDecoder.h:43:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBigValueBits [valueFlowBailoutIncompleteVar] 7z/LSBFDecoder.h:50:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBigValueBits [valueFlowBailoutIncompleteVar] 7z/LSBFDecoder.h:58:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMask [valueFlowBailoutIncompleteVar] 7z/HuffmanDecoder.h:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBitsInLongestCode [valueFlowBailoutIncompleteVar] 7z/RangeCoder.h:13:1: style: The class 'CRangeEncoder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/RangeCoder.h:98:10: style:inconclusive: Technically the member function 'NCompression::NArithmetic::CRangeEncoder::GetProcessedSize' can be const. [functionConst] 7z/RangeCoder.h:189:10: style:inconclusive: Technically the member function 'NCompression::NArithmetic::CRangeDecoder::GetProcessedSize' can be const. [functionConst] 7z/AriBitCoder.h:53:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitEncoder::GetPrice' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:65:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitDecoder::Decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/HuffmanEncoder.cc:7:11: warning: Member variable 'CEncoder::m_HeapLength' is not initialized in the constructor. [uninitMemberVar] 7z/HuffmanEncoder.cc:7:11: warning: Member variable 'CEncoder::m_BitLenCounters' is not initialized in the constructor. [uninitMemberVar] 7z/HuffmanEncoder.cc:7:11: warning: Member variable 'CEncoder::m_BlockBitLength' is not initialized in the constructor. [uninitMemberVar] 7z/HuffmanEncoder.cc:57:16: style:inconclusive: Technically the member function 'NCompression::NHuffman::CEncoder::Smaller' can be const. [functionConst] 7z/HuffmanEncoder.h:33:8: note: Technically the member function 'NCompression::NHuffman::CEncoder::Smaller' can be const. 7z/HuffmanEncoder.cc:57:16: note: Technically the member function 'NCompression::NHuffman::CEncoder::Smaller' can be const. 7z/HuffmanEncoder.cc:15:3: warning: Class 'CEncoder' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 7z/HuffmanEncoder.cc:15:3: warning: Class 'CEncoder' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 7z/BitTreeCoder.h:154:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Probability [valueFlowBailoutIncompleteVar] 7z/BitTreeCoder.h:170:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_NumBitLevels [valueFlowBailoutIncompleteVar] 7z/BitTreeCoder.h:178:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_NumBitLevels [valueFlowBailoutIncompleteVar] 7z/LZMA.cc:15:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDistTableSizeMax [valueFlowBailoutIncompleteVar] 7z/AriBitCoder.h:67:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBitModelTotalBits [valueFlowBailoutIncompleteVar] 7z/AriBitCoder.h:55:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_StatePrices [valueFlowBailoutIncompleteVar] 7z/AriBitCoder.h:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kBitModelTotal [valueFlowBailoutIncompleteVar] 7z/AriBitCoder.h:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kBitModelTotal [valueFlowBailoutIncompleteVar] 7z/OutByte.cc:5:11: warning: Member variable 'COutByte::m_Pos' is not initialized in the constructor. [uninitMemberVar] 7z/OutByte.cc:5:11: warning: Member variable 'COutByte::m_Stream' is not initialized in the constructor. [uninitMemberVar] 7z/OutByte.cc:5:11: warning: Member variable 'COutByte::m_ProcessedSize' is not initialized in the constructor. [uninitMemberVar] 7z/OutByte.cc:8:3: warning: Class 'COutByte' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 7z/OutByte.cc:8:3: warning: Class 'COutByte' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_Pos' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_PosLimit' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_KeepSizeBefore' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_KeepSizeAfter' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_KeepSizeReserv' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_StreamPos' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_WindowSize' is not initialized in the constructor. [uninitMemberVar] 7z/WindowOut.h:31:3: warning: Member variable 'COut::m_MoveFrom' is not initialized in the constructor. [uninitMemberVar] 7z/HuffmanDecoder.h:18:3: warning: Member variable 'CDecoder < kNumHuffmanBits >::m_Limitits' is not initialized in the constructor. [uninitMemberVar] 7z/HuffmanDecoder.h:18:3: warning: Member variable 'CDecoder < kNumHuffmanBits >::m_Positions' is not initialized in the constructor. [uninitMemberVar] 7z/HuffmanDecoder.h:18:3: warning: Member variable 'CDecoder < kNumHuffmanBits >::m_Lengths' is not initialized in the constructor. [uninitMemberVar] 7z/LSBFDecoder.h:20:1: style: The class 'CDecoder < NStream :: CInByte >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/HuffmanDecoder.h:20:7: warning: Class 'CDecoder < kNumHuffmanBits >' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 7z/HuffmanDecoder.h:20:7: warning: Class 'CDecoder < kNumHuffmanBits >' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 7z/BinTree.h:45:10: warning: The class 'CInTree' defines member function with name 'Init' also defined in its parent class 'CIn'. [duplInheritedMember] 7z/WindowIn.h:40:11: note: Parent function 'CIn::Init' 7z/BinTree.h:45:10: note: Derived function 'CInTree::Init' 7z/BinTree.h:49:11: warning: The class 'CInTree' defines member function with name 'MovePos' also defined in its parent class 'CIn'. [duplInheritedMember] 7z/WindowIn.h:46:11: note: Parent function 'CIn::MovePos' 7z/BinTree.h:49:11: note: Derived function 'CInTree::MovePos' 7z/BinTree.h:56:8: warning: The class 'CInTree' defines member function with name 'ReduceOffsets' also defined in its parent class 'CIn'. [duplInheritedMember] 7z/WindowIn.h:81:8: note: Parent function 'CIn::ReduceOffsets' 7z/BinTree.h:56:8: note: Derived function 'CInTree::ReduceOffsets' 7z/HuffmanDecoder.h:18:3: style: Class 'CDecoder < kNumHuffmanBits >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 7z/BinTree.h:39:16: style: The function 'AfterMoveBlock' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] 7z/WindowIn.h:30:16: note: Virtual function in base class 7z/BinTree.h:39:16: note: Function in derived class 7z/BinTree.h:42:4: style: The destructor '~CInTree' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] 7z/WindowIn.h:38:12: note: Virtual destructor in base class 7z/BinTree.h:42:4: note: Destructor in derived class 7z/BinTreeMain.h:147:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Table [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:37:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kLenTableSize [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:85:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kHistorySize [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:120:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchMaxLen [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:153:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchMaxLen [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:260:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchMinLen [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:336:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMaxTableSize [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:360:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kReadTableNumber [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:473:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kTableLevelRepNumber [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:528:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMaxTableSize [valueFlowBailoutIncompleteVar] 7z/DeflateEncoder.cc:662:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchMinLen [valueFlowBailoutIncompleteVar] 7z/WindowIn.h:73:13: style: Variable 'pby' can be declared as pointer to const [constVariablePointer] 7z/LiteralCoder.h:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBitModelTotalBits [valueFlowBailoutIncompleteVar] 7z/LiteralCoder.h:53:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBitModelTotalBits [valueFlowBailoutIncompleteVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_Stream' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_PosLimit' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_StreamEndWasReached' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_PointerToLastSafePosition' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_BlockSize' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_Pos' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_KeepSizeBefore' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_KeepSizeAfter' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_KeepSizeReserv' is not initialized in the constructor. [uninitMemberVar] 7z/WindowIn.cc:7:6: warning: Member variable 'CIn::m_StreamPos' is not initialized in the constructor. [uninitMemberVar] 7z/BitTreeCoder.h:84:3: warning: Member variable 'CReverseBitTreeEncoder2::m_NumBitLevels' is not initialized in the constructor. [uninitMemberVar] 7z/BitTreeCoder.h:133:3: warning: Member variable 'CReverseBitTreeDecoder2::m_NumBitLevels' is not initialized in the constructor. [uninitMemberVar] 7z/LenCoder.h:47:1: style: The class 'CPriceTableEncoder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/LenCoder.h:77:1: style: The class 'CDecoder' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 7z/DeflateDecoder.cc:9:9: warning: Member variable 'CCoder::m_InBitStream' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateDecoder.cc:9:9: warning: Member variable 'CCoder::m_FinalBlock' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateDecoder.cc:9:9: warning: Member variable 'CCoder::m_StoredMode' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateDecoder.cc:9:9: warning: Member variable 'CCoder::m_StoredBlockSize' is not initialized in the constructor. [uninitMemberVar] 7z/AriBitCoder.h:65:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitDecoder < kNumMoveBits >::Decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:53:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitEncoder < kNumMoveBits >::GetPrice' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/LenCoder.h:55:10: warning: The class 'CPriceTableEncoder' defines member function with name 'GetPrice' also defined in its parent class 'CEncoder'. [duplInheritedMember] 7z/LenCoder.h:42:10: note: Parent function 'CEncoder::GetPrice' 7z/LenCoder.h:55:10: note: Derived function 'CPriceTableEncoder::GetPrice' 7z/LenCoder.h:68:8: warning: The class 'CPriceTableEncoder' defines member function with name 'Encode' also defined in its parent class 'CEncoder'. [duplInheritedMember] 7z/LenCoder.h:40:8: note: Parent function 'CEncoder::Encode' 7z/LenCoder.h:68:8: note: Derived function 'CPriceTableEncoder::Encode' 7z/DeflateDecoder.cc:220:20: style: Variable 'e' can be declared as reference to const [constVariableReference] 7z/LenCoder.h:55:10: warning: The class 'CPriceTableEncoder' defines member function with name 'GetPrice' also defined in its parent class 'CEncoder'. [duplInheritedMember] 7z/LenCoder.cc:45:18: note: Parent function 'CEncoder::GetPrice' 7z/LenCoder.h:55:10: note: Derived function 'CPriceTableEncoder::GetPrice' 7z/LenCoder.h:68:8: warning: The class 'CPriceTableEncoder' defines member function with name 'Encode' also defined in its parent class 'CEncoder'. [duplInheritedMember] 7z/LenCoder.cc:20:16: note: Parent function 'CEncoder::Encode' 7z/LenCoder.h:68:8: note: Derived function 'CPriceTableEncoder::Encode' 7z/DeflateDecoder.cc:115:43: warning: Uninitialized variable: aLevelLevels [uninitvar] 7z/DeflateDecoder.cc:104:25: note: Assuming condition is false 7z/DeflateDecoder.cc:115:43: note: Uninitialized variable: aLevelLevels 7z/LZMAEncoder.h:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchMaxLen [valueFlowBailoutIncompleteVar] 7z/LZMAEncoder.h:144:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMatchMinLen [valueFlowBailoutIncompleteVar] 7z/LZMAEncoder.h:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumFullDistances [valueFlowBailoutIncompleteVar] 7z/LZMADecoder.cc:37:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumPosStatesBitsMax [valueFlowBailoutIncompleteVar] 7z/LiteralCoder.h:77:3: warning: Member variable 'CEncoder::m_NumPrevBits' is not initialized in the constructor. [uninitMemberVar] 7z/LiteralCoder.h:77:3: warning: Member variable 'CEncoder::m_NumPosBits' is not initialized in the constructor. [uninitMemberVar] 7z/LiteralCoder.h:77:3: warning: Member variable 'CEncoder::m_PosMask' is not initialized in the constructor. [uninitMemberVar] 7z/LiteralCoder.h:116:3: warning: Member variable 'CDecoder::m_NumPrevBits' is not initialized in the constructor. [uninitMemberVar] 7z/LiteralCoder.h:116:3: warning: Member variable 'CDecoder::m_NumPosBits' is not initialized in the constructor. [uninitMemberVar] 7z/LiteralCoder.h:116:3: warning: Member variable 'CDecoder::m_PosMask' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:115:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumPosStatesBitsEncodingMax [valueFlowBailoutIncompleteVar] 7z/LZMAEncoder.cc:887:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNumBitPriceShiftBits [valueFlowBailoutIncompleteVar] libpng/pngerror.c:747:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpng/pngerror.c:819:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpng/pngmem.c:197:12: style: Condition 'ret==NULL' is always true [knownConditionTrueFalse] libpng/pngmem.c:195:25: note: Calling function 'png_malloc_base' returns 0 libpng/pngmem.c:195:25: note: Assignment 'ret=png_malloc_base(NULL,size)', assigned value is 0 libpng/pngmem.c:197:12: note: Condition 'ret==NULL' is always true libpng/pngmem.c:128:1: style:inconclusive: Function 'png_realloc_array' argument 2 names different: declaration 'array' definition 'old_array'. [funcArgNamesDifferent] libpng/pngpriv.h:886:1: note: Function 'png_realloc_array' argument 2 names different: declaration 'array' definition 'old_array'. libpng/pngmem.c:128:1: note: Function 'png_realloc_array' argument 2 names different: declaration 'array' definition 'old_array'. 7z/BitTreeCoder.h:133:3: warning: Member variable 'CReverseBitTreeDecoder2 < kNumMoveBitsForPosCoders >::m_NumBitLevels' is not initialized in the constructor. [uninitMemberVar] 7z/BitTreeCoder.h:84:3: warning: Member variable 'CReverseBitTreeEncoder2 < kNumMoveBitsForPosCoders >::m_NumBitLevels' is not initialized in the constructor. [uninitMemberVar] 7z/BitTreeCoder.h:84:3: warning: Member variable 'CReverseBitTreeEncoder2 < kNumMoveBitsForAlignCoders >::m_NumBitLevels' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.h:34:8: style:inconclusive: Technically the member function 'NCompress::NLZMA::COptimal::IsShortRep' can be const. [functionConst] 7z/AriBitCoder.h:65:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitDecoder < kNumMoveBitsForMainChoice >::Decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:65:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitDecoder < kNumMoveBitsForAlignCoders >::Decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:65:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitDecoder < kNumMoveBitsForPosCoders >::Decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:65:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitDecoder < kNumMoveBitsForPosSlotCoder >::Decode' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:53:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitEncoder < kNumMoveBitsForMainChoice >::GetPrice' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:53:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitEncoder < kNumMoveBitsForPosCoders >::GetPrice' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:53:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitEncoder < kNumMoveBitsForAlignCoders >::GetPrice' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/AriBitCoder.h:53:10: performance:inconclusive: Technically the member function 'NCompression::NArithmetic::CBitEncoder < kNumMoveBitsForPosSlotCoder >::GetPrice' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/LZMADecoder.cc:46:11: warning: Member variable 'CDecoder::m_RangeDecoder' is not initialized in the constructor. [uninitMemberVar] 7z/LZMADecoder.cc:46:11: warning: Member variable 'CDecoder::m_LenDecoder' is not initialized in the constructor. [uninitMemberVar] 7z/LZMADecoder.cc:46:11: warning: Member variable 'CDecoder::m_RepMatchLenDecoder' is not initialized in the constructor. [uninitMemberVar] 7z/LZMADecoder.cc:46:11: warning: Member variable 'CDecoder::m_PosStateMask' is not initialized in the constructor. [uninitMemberVar] libpng/pngpread.c:754:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_SYNC_FLUSH [valueFlowBailoutIncompleteVar] 7z/LZMADecoder.cc:228:21: style: Variable 'e' can be declared as reference to const [constVariableReference] libpng/pngerror.c:555:53: style: Expression is always true because 'else if' condition is opposite to previous condition at line 541. [multiCondition] libpng/pngerror.c:541:48: note: first condition libpng/pngerror.c:555:53: note: else if condition is opposite to first condition apngopt.cpp:79:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_FILLER_AFTER [valueFlowBailoutIncompleteVar] apngopt.cpp:252:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable png_bytep [valueFlowBailoutIncompleteVar] apngopt.cpp:731:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_NULL [valueFlowBailoutIncompleteVar] apngopt.cpp:905:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_NO_FLUSH [valueFlowBailoutIncompleteVar] apngopt.cpp:949:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZOPFLI_FORMAT_ZLIB [valueFlowBailoutIncompleteVar] apngopt.cpp:989:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_BINARY [valueFlowBailoutIncompleteVar] apngopt.cpp:1240:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_BINARY [valueFlowBailoutIncompleteVar] libpng/png.c:105:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_NULL [valueFlowBailoutIncompleteVar] libpng/png.c:145:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uInt [valueFlowBailoutIncompleteVar] libpng/png.c:932:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_STREAM_ERROR [valueFlowBailoutIncompleteVar] libpng/pngerror.c:392:61: style:inconclusive: Function 'png_app_warning' argument 2 names different: declaration 'message' definition 'error_message'. [funcArgNamesDifferent] libpng/pngpriv.h:1609:1: note: Function 'png_app_warning' argument 2 names different: declaration 'message' definition 'error_message'. libpng/pngerror.c:392:61: note: Function 'png_app_warning' argument 2 names different: declaration 'message' definition 'error_message'. libpng/pngerror.c:405:59: style:inconclusive: Function 'png_app_error' argument 2 names different: declaration 'message' definition 'error_message'. [funcArgNamesDifferent] libpng/pngpriv.h:1615:1: note: Function 'png_app_error' argument 2 names different: declaration 'message' definition 'error_message'. libpng/pngerror.c:405:59: note: Function 'png_app_error' argument 2 names different: declaration 'message' definition 'error_message'. libpng/png.c:2792:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN_10_EXP [valueFlowBailoutIncompleteVar] libpng/png.c:2828:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_DIG [valueFlowBailoutIncompleteVar] libpng/pngerror.c:936:29: style:inconclusive: Function 'png_safe_execute' argument 1 names different: declaration 'image' definition 'image_in'. [funcArgNamesDifferent] libpng/pngpriv.h:1865:1: note: Function 'png_safe_execute' argument 1 names different: declaration 'image' definition 'image_in'. libpng/pngerror.c:936:29: note: Function 'png_safe_execute' argument 1 names different: declaration 'image' definition 'image_in'. 7z/BinTreeMain.h:33:10: warning: Member variable 'CInTree::m_HistorySize' is not initialized in the constructor. [uninitMemberVar] 7z/BinTreeMain.h:33:10: warning: Member variable 'CInTree::m_MatchMaxLen' is not initialized in the constructor. [uninitMemberVar] 7z/BinTreeMain.h:33:10: warning: Member variable 'CInTree::m_Son' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_FinderPos' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_Optimum' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_OutStream' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_ReverseOutStream' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_LastLevels' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_ValueIndex' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_OptimumEndIndex' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_OptimumCurrentIndex' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_AdditionalOffset' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_LongestMatchLength' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_LongestMatchDistance' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_MatchLengthEdge' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_LiteralPrices' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_LenPrices' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_PosPrices' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_CurrentBlockUncompressedSize' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.cc:68:9: warning: Member variable 'CCoder::m_BlockStartPostion' is not initialized in the constructor. [uninitMemberVar] 7z/DeflateEncoder.h:72:10: style:inconclusive: Member variable 'CCoder::m_NumFastBytes' is in the wrong place in the initializer list. [initializerList] 7z/DeflateEncoder.cc:73:3: note: Member variable 'CCoder::m_NumFastBytes' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:72:10: note: Member variable 'CCoder::m_NumFastBytes' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:82:19: style:inconclusive: Member variable 'CCoder::m_OnePosMatchesArray' is in the wrong place in the initializer list. [initializerList] 7z/DeflateEncoder.cc:75:3: note: Member variable 'CCoder::m_OnePosMatchesArray' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:82:19: note: Member variable 'CCoder::m_OnePosMatchesArray' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:70:11: style:inconclusive: Member variable 'CCoder::m_MatchDistances' is in the wrong place in the initializer list. [initializerList] 7z/DeflateEncoder.cc:76:3: note: Member variable 'CCoder::m_MatchDistances' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:70:11: note: Member variable 'CCoder::m_MatchDistances' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:62:15: style:inconclusive: Member variable 'CCoder::m_Values' is in the wrong place in the initializer list. [initializerList] 7z/DeflateEncoder.cc:78:3: note: Member variable 'CCoder::m_Values' is in the wrong place in the initializer list. 7z/DeflateEncoder.h:62:15: note: Member variable 'CCoder::m_Values' is in the wrong place in the initializer list. 7z/BinTreeMain.h:471:15: performance:inconclusive: Technically the member function 'NBT3Z::CInTree::NormalizeLinks' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/BinTree.h:34:8: note: Technically the member function 'NBT3Z::CInTree::NormalizeLinks' can be static (but you may consider moving to unnamed namespace). 7z/BinTreeMain.h:471:15: note: Technically the member function 'NBT3Z::CInTree::NormalizeLinks' can be static (but you may consider moving to unnamed namespace). 7z/DeflateEncoder.cc:125:14: style:inconclusive: Technically the member function 'NDeflate::NEncoder::CCoder::Free' can be const. [functionConst] 7z/DeflateEncoder.h:91:8: note: Technically the member function 'NDeflate::NEncoder::CCoder::Free' can be const. 7z/DeflateEncoder.cc:125:14: note: Technically the member function 'NDeflate::NEncoder::CCoder::Free' can be const. 7z/DeflateEncoder.cc:80:3: warning: Class 'CCoder' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 7z/DeflateEncoder.cc:80:3: warning: Class 'CCoder' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 7z/BinTreeMain.h:102:18: warning: The class 'CInTree' defines member function with name 'Init' also defined in its parent class 'CIn'. [duplInheritedMember] 7z/WindowIn.h:40:11: note: Parent function 'CIn::Init' 7z/BinTreeMain.h:102:18: note: Derived function 'CInTree::Init' 7z/BinTreeMain.h:488:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 7z/BinTreeMain.h:173:10: style: The scope of the variable 'aMatchHashLenMax' can be reduced. [variableScope] 7z/DeflateEncoder.cc:430:7: style: The scope of the variable 'aPrevLen' can be reduced. [variableScope] 7z/DeflateEncoder.cc:432:7: style: The scope of the variable 'aCount' can be reduced. [variableScope] 7z/BinTreeMain.h:63:61: style:inconclusive: Function 'Create' argument 5 names different: declaration '_dwSizeReserv' definition 'aSizeReserv'. [funcArgNamesDifferent] 7z/BinTree.h:44:42: note: Function 'Create' argument 5 names different: declaration '_dwSizeReserv' definition 'aSizeReserv'. 7z/BinTreeMain.h:63:61: note: Function 'Create' argument 5 names different: declaration '_dwSizeReserv' definition 'aSizeReserv'. 7z/DeflateEncoder.cc:322:17: style: Local variable 'anOptimum' shadows outer variable [shadowVariable] 7z/DeflateEncoder.cc:297:15: note: Shadowed declaration 7z/DeflateEncoder.cc:322:17: note: Shadow variable 7z/DeflateEncoder.cc:710:20: style: Variable 'e' can be declared as reference to const [constVariableReference] 7z/BinTreeMain.h:170:9: style: Variable 'aCur' can be declared as pointer to const [constVariablePointer] 7z/BinTreeMain.h:267:11: style: Variable 'pby1' can be declared as pointer to const [constVariablePointer] 7z/BinTreeMain.h:373:9: style: Variable 'aCur' can be declared as pointer to const [constVariablePointer] 7z/BinTreeMain.h:404:11: style: Variable 'pby1' can be declared as pointer to const [constVariablePointer] 7z/DeflateEncoder.cc:636:18: style: Variable 'aNowPos' is assigned a value that is never used. [unreadVariable] 7z/DeflateEncoder.cc:694:15: style: Variable 'aNowPos' is assigned a value that is never used. [unreadVariable] libpng/pngset.c:1525:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uInt [valueFlowBailoutIncompleteVar] libpng/pngread.c:1496:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_Optimum' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_RangeEncoder' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_LenEncoder' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_RepMatchLenEncoder' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_MatchDistances' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_LongestMatchLength' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_AdditionalOffset' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_OptimumEndIndex' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_OptimumCurrentIndex' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_LongestMatchWasFound' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_PosSlotPrices' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_DistancesPrices' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_AlignPrices' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CEncoder::m_AlignPriceCount' is not initialized in the constructor. [uninitMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CBaseCoder::m_State' is not initialized in the constructor. Maybe it should be initialized directly in the class CBaseCoder? [uninitDerivedMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CBaseCoder::m_PreviousByte' is not initialized in the constructor. Maybe it should be initialized directly in the class CBaseCoder? [uninitDerivedMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CBaseCoder::m_PeviousIsMatch' is not initialized in the constructor. Maybe it should be initialized directly in the class CBaseCoder? [uninitDerivedMemberVar] 7z/LZMAEncoder.cc:36:11: warning: Member variable 'CBaseCoder::m_RepDistances' is not initialized in the constructor. Maybe it should be initialized directly in the class CBaseCoder? [uninitDerivedMemberVar] 7z/LZMAEncoder.h:92:7: style:inconclusive: Member variable 'CEncoder::m_NumFastBytes' is in the wrong place in the initializer list. [initializerList] 7z/LZMAEncoder.cc:39:3: note: Member variable 'CEncoder::m_NumFastBytes' is in the wrong place in the initializer list. 7z/LZMAEncoder.h:92:7: note: Member variable 'CEncoder::m_NumFastBytes' is in the wrong place in the initializer list. 7z/LZMAEncoder.h:109:7: style:inconclusive: Member variable 'CEncoder::m_DistTableSize' is in the wrong place in the initializer list. [initializerList] 7z/LZMAEncoder.cc:41:3: note: Member variable 'CEncoder::m_DistTableSize' is in the wrong place in the initializer list. 7z/LZMAEncoder.h:109:7: note: Member variable 'CEncoder::m_DistTableSize' is in the wrong place in the initializer list. 7z/BinTreeMain.h:471:15: performance:inconclusive: Technically the member function 'NBT2::CInTree::NormalizeLinks' can be static (but you may consider moving to unnamed namespace). [functionStatic] 7z/BinTree.h:34:8: note: Technically the member function 'NBT2::CInTree::NormalizeLinks' can be static (but you may consider moving to unnamed namespace). 7z/BinTreeMain.h:471:15: note: Technically the member function 'NBT2::CInTree::NormalizeLinks' can be static (but you may consider moving to unnamed namespace). 7z/LZMAEncoder.cc:123:19: style:inconclusive: Technically the member function 'NCompress::NLZMA::CEncoder::WriteCoderProperties' can be const. [functionConst] 7z/LZMAEncoder.h:202:11: note: Technically the member function 'NCompress::NLZMA::CEncoder::WriteCoderProperties' can be const. 7z/LZMAEncoder.cc:123:19: note: Technically the member function 'NCompress::NLZMA::CEncoder::WriteCoderProperties' can be const. 7z/LZMAEncoder.cc:270:31: style: Condition 'aLenMainm_NumFastBytes' is not redundant 7z/LZMAEncoder.cc:270:31: note: Condition 'aLenMainpending==s->pending_buf_size' is always true [knownConditionTrueFalse] zlib/deflate1.c:770:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant zlib/deflate1.c:776:36: note: Condition 's->pending==s->pending_buf_size' is always true zlib/deflate1.c:805:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] zlib/deflate1.c:799:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant zlib/deflate1.c:805:36: note: Condition 's->pending==s->pending_buf_size' is always true zlib/deflate1.c:836:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] zlib/deflate1.c:830:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant zlib/deflate1.c:836:36: note: Condition 's->pending==s->pending_buf_size' is always true zlib/deflate1.c:572:12: style: Variable 'str' can be declared as pointer to const [constVariablePointer] zlib/deflate1.c:1022:20: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] zlib/deflate1.c:1163:11: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] zlib/zutil.c:309:31: style: Same expression on both sides of '-'. [duplicateExpression] zlib/zutil.c:14:33: style: struct member 'internal_state::dummy' is never used. [unusedStructMember] zlib/deflate1.c:155:32: style: struct member 'static_tree_desc_s::dummy' is never used. [unusedStructMember] zlib/deflate1.c:1842:9: style: Variable 'bflush' is assigned a value that is never used. [unreadVariable] zopfli/blocksplitter.c:43:42: debug: Function::addArguments found argument 'i' with varid 0. [varid0] zopfli/blocksplitter.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zopfli/cache.c:94:14: style: Local variable 'length' shadows outer argument [shadowArgument] zopfli/cache.c:82:45: note: Shadowed declaration zopfli/cache.c:94:14: note: Shadow variable zopfli/cache.c:87:18: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] zopfli/cache.c:109:18: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] zopfli/deflate.c:389:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zopfli/deflate.c:693:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zlib/inflate.c:1497:17: style: Variable 'state->sane' is reassigned a value before the old one has been used. [redundantAssignment] zlib/inflate.c:1493:17: note: state->sane is assigned zlib/inflate.c:1497:17: note: state->sane is overwritten zlib/inflate.c:1507:61: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] zlib/inflate.c:617:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] zlib/inflate.c:1431:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] zlib/inflate.c:1442:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] zlib/inflate.c:1402:36: warning: Uninitialized variable: buf [uninitvar] zlib/inflate.c:1396:28: note: Assuming condition is false zlib/inflate.c:1402:36: note: Uninitialized variable: buf zopfli/blocksplitter.c:48:12: style: Local variable 'i' shadows outer argument [shadowArgument] zopfli/blocksplitter.c:43:42: note: Shadowed declaration zopfli/blocksplitter.c:48:12: note: Shadow variable zopfli/blocksplitter.c:60:12: style: Local variable 'i' shadows outer argument [shadowArgument] zopfli/blocksplitter.c:43:42: note: Shadowed declaration zopfli/blocksplitter.c:60:12: note: Shadow variable zopfli/blocksplitter.c:127:21: style: Variable 'c' can be declared as pointer to const [constVariablePointer] zopfli/blocksplitter.c:227:16: style: Variable 'llpos' is assigned a value that is never used. [unreadVariable] zopfli/gzip_container.c:112:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libpng/pngwutil.c:440:69: style:inconclusive: Function 'png_free_buffer_list' argument 2 names different: declaration 'list' definition 'listp'. [funcArgNamesDifferent] libpng/pngpriv.h:845:1: note: Function 'png_free_buffer_list' argument 2 names different: declaration 'list' definition 'listp'. libpng/pngwutil.c:440:69: note: Function 'png_free_buffer_list' argument 2 names different: declaration 'list' definition 'listp'. libpng/pngwutil.c:758:40: style:inconclusive: Function 'png_write_IHDR' argument 6 names different: declaration 'compression_method' definition 'compression_type'. [funcArgNamesDifferent] libpng/pngpriv.h:985:1: note: Function 'png_write_IHDR' argument 6 names different: declaration 'compression_method' definition 'compression_type'. libpng/pngwutil.c:758:40: note: Function 'png_write_IHDR' argument 6 names different: declaration 'compression_method' definition 'compression_type'. libpng/pngwutil.c:758:62: style:inconclusive: Function 'png_write_IHDR' argument 7 names different: declaration 'filter_method' definition 'filter_type'. [funcArgNamesDifferent] libpng/pngpriv.h:985:1: note: Function 'png_write_IHDR' argument 7 names different: declaration 'filter_method' definition 'filter_type'. libpng/pngwutil.c:758:62: note: Function 'png_write_IHDR' argument 7 names different: declaration 'filter_method' definition 'filter_type'. libpng/pngwutil.c:759:9: style:inconclusive: Function 'png_write_IHDR' argument 8 names different: declaration 'interlace_method' definition 'interlace_type'. [funcArgNamesDifferent] libpng/pngpriv.h:985:1: note: Function 'png_write_IHDR' argument 8 names different: declaration 'interlace_method' definition 'interlace_type'. libpng/pngwutil.c:759:9: note: Function 'png_write_IHDR' argument 8 names different: declaration 'interlace_method' definition 'interlace_type'. libpng/pngwutil.c:1008:57: style:inconclusive: Function 'png_compress_IDAT' argument 2 names different: declaration 'row_data' definition 'input'. [funcArgNamesDifferent] libpng/pngpriv.h:992:1: note: Function 'png_compress_IDAT' argument 2 names different: declaration 'row_data' definition 'input'. libpng/pngwutil.c:1008:57: note: Function 'png_compress_IDAT' argument 2 names different: declaration 'row_data' definition 'input'. libpng/pngwutil.c:1009:21: style:inconclusive: Function 'png_compress_IDAT' argument 3 names different: declaration 'row_data_length' definition 'input_len'. [funcArgNamesDifferent] libpng/pngpriv.h:992:1: note: Function 'png_compress_IDAT' argument 3 names different: declaration 'row_data_length' definition 'input_len'. libpng/pngwutil.c:1009:21: note: Function 'png_compress_IDAT' argument 3 names different: declaration 'row_data_length' definition 'input_len'. libpng/pngwutil.c:1174:42: style:inconclusive: Function 'png_write_sRGB' argument 2 names different: declaration 'intent' definition 'srgb_intent'. [funcArgNamesDifferent] libpng/pngpriv.h:1015:1: note: Function 'png_write_sRGB' argument 2 names different: declaration 'intent' definition 'srgb_intent'. libpng/pngwutil.c:1174:42: note: Function 'png_write_sRGB' argument 2 names different: declaration 'intent' definition 'srgb_intent'. libpng/pngwutil.c:1254:56: style:inconclusive: Function 'png_write_sPLT' argument 2 names different: declaration 'palette' definition 'spalette'. [funcArgNamesDifferent] libpng/pngpriv.h:1029:1: note: Function 'png_write_sPLT' argument 2 names different: declaration 'palette' definition 'spalette'. libpng/pngwutil.c:1254:56: note: Function 'png_write_sPLT' argument 2 names different: declaration 'palette' definition 'spalette'. libpng/pngwutil.c:1424:54: style:inconclusive: Function 'png_write_tRNS' argument 2 names different: declaration 'trans' definition 'trans_alpha'. [funcArgNamesDifferent] libpng/pngpriv.h:1034:1: note: Function 'png_write_tRNS' argument 2 names different: declaration 'trans' definition 'trans_alpha'. libpng/pngwutil.c:1424:54: note: Function 'png_write_tRNS' argument 2 names different: declaration 'trans' definition 'trans_alpha'. libpng/pngwutil.c:1425:25: style:inconclusive: Function 'png_write_tRNS' argument 3 names different: declaration 'values' definition 'tran'. [funcArgNamesDifferent] libpng/pngpriv.h:1034:1: note: Function 'png_write_tRNS' argument 3 names different: declaration 'values' definition 'tran'. libpng/pngwutil.c:1425:25: note: Function 'png_write_tRNS' argument 3 names different: declaration 'values' definition 'tran'. libpng/pngwutil.c:1425:35: style:inconclusive: Function 'png_write_tRNS' argument 4 names different: declaration 'number' definition 'num_trans'. [funcArgNamesDifferent] libpng/pngpriv.h:1034:1: note: Function 'png_write_tRNS' argument 4 names different: declaration 'number' definition 'num_trans'. libpng/pngwutil.c:1425:35: note: Function 'png_write_tRNS' argument 4 names different: declaration 'number' definition 'num_trans'. libpng/pngwutil.c:1490:58: style:inconclusive: Function 'png_write_bKGD' argument 2 names different: declaration 'values' definition 'back'. [funcArgNamesDifferent] libpng/pngpriv.h:1040:1: note: Function 'png_write_bKGD' argument 2 names different: declaration 'values' definition 'back'. libpng/pngwutil.c:1490:58: note: Function 'png_write_bKGD' argument 2 names different: declaration 'values' definition 'back'. libpng/pngwutil.c:2998:15: style:inconclusive: Function 'png_write_filtered_row' argument 3 names different: declaration 'row_bytes' definition 'full_row_length'. [funcArgNamesDifferent] libpng/pngwutil.c:2319:15: note: Function 'png_write_filtered_row' argument 3 names different: declaration 'row_bytes' definition 'full_row_length'. libpng/pngwutil.c:2998:15: note: Function 'png_write_filtered_row' argument 3 names different: declaration 'row_bytes' definition 'full_row_length'. libpng/pngwutil.c:638:72: style: Parameter 'comp' can be declared as pointer to const [constParameterPointer] libpng/pngwutil.c:643:28: style: Variable 'next' can be declared as pointer to const [constVariablePointer] zopfli/katajainen.c:109:19: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:242:16: note: Calling function 'BoundaryPM', 1st argument 'lists' value is 0 zopfli/katajainen.c:109:19: note: Null pointer dereference zopfli/katajainen.c:114:14: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:242:16: note: Calling function 'BoundaryPM', 1st argument 'lists' value is 0 zopfli/katajainen.c:111:18: note: Assuming condition is false zopfli/katajainen.c:114:14: note: Null pointer dereference zopfli/katajainen.c:118:3: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:242:16: note: Calling function 'BoundaryPM', 1st argument 'lists' value is 0 zopfli/katajainen.c:111:18: note: Assuming condition is false zopfli/katajainen.c:118:3: note: Null pointer dereference zopfli/katajainen.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:242:16: note: Calling function 'BoundaryPM', 1st argument 'lists' value is 0 zopfli/katajainen.c:111:18: note: Assuming condition is false zopfli/katajainen.c:119:3: note: Null pointer dereference zopfli/katajainen.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:235:37: note: Calling function 'InitLists', 4th argument 'lists' value is 0 zopfli/katajainen.c:153:5: note: Null pointer dereference zopfli/katajainen.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:235:37: note: Calling function 'InitLists', 4th argument 'lists' value is 0 zopfli/katajainen.c:154:5: note: Null pointer dereference zopfli/katajainen.c:245:21: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] zopfli/katajainen.c:234:31: note: Assuming allocation function fails zopfli/katajainen.c:234:11: note: Assignment 'lists=(struct Node*(*)[2])malloc(maxbits*sizeof(*lists))', assigned value is 0 zopfli/katajainen.c:245:21: note: Null pointer dereference zopfli/katajainen.c:164:9: style: Variable 'node' can be declared as pointer to const [constVariablePointer] zopfli/squeeze.c:490:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zopfli/tree.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bl_count [nullPointerOutOfMemory] zopfli/tree.c:32:37: note: Assuming allocation function fails zopfli/tree.c:32:22: note: Assignment 'bl_count=(unsigned long*)malloc(sizeof(unsigned long)*(maxbits+1))', assigned value is 0 zopfli/tree.c:44:5: note: Null pointer dereference zopfli/tree.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bl_count [nullPointerOutOfMemory] zopfli/tree.c:32:37: note: Assuming allocation function fails zopfli/tree.c:32:22: note: Assignment 'bl_count=(unsigned long*)malloc(sizeof(unsigned long)*(maxbits+1))', assigned value is 0 zopfli/tree.c:48:5: note: Null pointer dereference zopfli/tree.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bl_count [nullPointerOutOfMemory] zopfli/tree.c:32:37: note: Assuming allocation function fails zopfli/tree.c:32:22: note: Assignment 'bl_count=(unsigned long*)malloc(sizeof(unsigned long)*(maxbits+1))', assigned value is 0 zopfli/tree.c:52:3: note: Null pointer dereference zopfli/tree.c:54:20: warning: If memory allocation fails, then there is a possible null pointer dereference: bl_count [nullPointerOutOfMemory] zopfli/tree.c:32:37: note: Assuming allocation function fails zopfli/tree.c:32:22: note: Assignment 'bl_count=(unsigned long*)malloc(sizeof(unsigned long)*(maxbits+1))', assigned value is 0 zopfli/tree.c:54:20: note: Null pointer dereference zopfli/tree.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: next_code [nullPointerOutOfMemory] zopfli/tree.c:33:38: note: Assuming allocation function fails zopfli/tree.c:33:23: note: Assignment 'next_code=(unsigned long*)malloc(sizeof(unsigned long)*(maxbits+1))', assigned value is 0 zopfli/tree.c:55:5: note: Null pointer dereference zopfli/zlib_container.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zlib/trees.c:1155:14: style:inconclusive: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. [funcArgNamesDifferent] zlib/trees.c:152:27: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. zlib/trees.c:1155:14: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. zlib/trees.c:1156:9: style:inconclusive: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] zlib/trees.c:152:27: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. zlib/trees.c:1156:9: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. zlib/trees.c:455:14: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] zlib/trees.c:578:11: style: Parameter 'bl_count' can be declared as pointer to const [constParameterPointer] zlib/trees.c:1121:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] zlib/trees.c:1207:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libpng/pngpread.c:591:36: warning: Possible null pointer dereference: old_buffer [nullPointer] libpng/pngpread.c:587:23: note: Assignment 'old_buffer=NULL', assigned value is 0 libpng/pngpread.c:591:36: note: Null pointer dereference libpng/pngpread.c:443:53: style:inconclusive: Function 'png_push_crc_skip' argument 2 names different: declaration 'length' definition 'skip'. [funcArgNamesDifferent] libpng/pngpriv.h:1375:1: note: Function 'png_push_crc_skip' argument 2 names different: declaration 'length' definition 'skip'. libpng/pngpread.c:443:53: note: Function 'png_push_crc_skip' argument 2 names different: declaration 'length' definition 'skip'. zopfli/deflate.c:635:33: warning: Possible null pointer dereference: splitpoints [nullPointer] zopfli/deflate.c:597:25: note: Assignment 'splitpoints=0', assigned value is 0 zopfli/deflate.c:626:13: note: Assuming condition is true zopfli/deflate.c:635:33: note: Null pointer dereference zopfli/deflate.c:636:46: warning: Possible null pointer dereference: splitpoints [nullPointer] zopfli/deflate.c:597:25: note: Assignment 'splitpoints=0', assigned value is 0 zopfli/deflate.c:626:13: note: Assuming condition is true zopfli/deflate.c:636:46: note: Null pointer dereference zopfli/squeeze.c:50:36: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] zopfli/squeeze.c:336:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] zopfli/deflate.c:158:11: style: Same expression on both sides of '-'. [duplicateExpression] zopfli/deflate.c:401:21: style: Redundant initialization for 'detect_block_size'. The initialized value is overwritten before it is read. [redundantInitialization] zopfli/deflate.c:366:28: note: detect_block_size is initialized zopfli/deflate.c:401:21: note: detect_block_size is overwritten zopfli/deflate.c:114:12: style: Variable 'order' can be declared as const array [constVariable] zopfli/lz77.c:246:8: style: Variable 'hhead' can be declared as pointer to const [constVariablePointer] zopfli/lz77.c:247:19: style: Variable 'hprev' can be declared as pointer to const [constVariablePointer] zopfli/lz77.c:248:8: style: Variable 'hhashval' can be declared as pointer to const [constVariablePointer] libpng/pngread.c:3536:26: style: Variable 'row' is assigned a value that is never used. [unreadVariable] apngopt.cpp:1277:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] apngopt.cpp:1277:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] apngopt.cpp:1287:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] apngopt.cpp:1299:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] apngopt.cpp:1299:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] apngopt.cpp:86:23: style: C-style pointer casting [cstyleCast] apngopt.cpp:256:50: style: C-style pointer casting [cstyleCast] apngopt.cpp:339:57: style: C-style pointer casting [cstyleCast] apngopt.cpp:497:9: style: C-style pointer casting [cstyleCast] apngopt.cpp:497:31: style: C-style pointer casting [cstyleCast] apngopt.cpp:498:19: style: C-style pointer casting [cstyleCast] apngopt.cpp:498:47: style: C-style pointer casting [cstyleCast] apngopt.cpp:500:9: style: C-style pointer casting [cstyleCast] apngopt.cpp:500:33: style: C-style pointer casting [cstyleCast] apngopt.cpp:501:19: style: C-style pointer casting [cstyleCast] apngopt.cpp:501:49: style: C-style pointer casting [cstyleCast] apngopt.cpp:503:9: style: C-style pointer casting [cstyleCast] apngopt.cpp:503:31: style: C-style pointer casting [cstyleCast] apngopt.cpp:504:19: style: C-style pointer casting [cstyleCast] apngopt.cpp:504:47: style: C-style pointer casting [cstyleCast] apngopt.cpp:506:9: style: C-style pointer casting [cstyleCast] apngopt.cpp:506:31: style: C-style pointer casting [cstyleCast] apngopt.cpp:507:19: style: C-style pointer casting [cstyleCast] apngopt.cpp:507:47: style: C-style pointer casting [cstyleCast] apngopt.cpp:509:17: style: C-style pointer casting [cstyleCast] apngopt.cpp:509:45: style: C-style pointer casting [cstyleCast] apngopt.cpp:138:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:736:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1063:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1064:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1065:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1120:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1121:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1122:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:1235:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] apngopt.cpp:816:10: style: Redundant initialization for 'mins'. The initialized value is overwritten before it is read. [redundantInitialization] apngopt.cpp:808:26: note: mins is initialized apngopt.cpp:816:10: note: mins is overwritten apngopt.cpp:207:16: style: The scope of the variable 'id' can be reduced. [variableScope] apngopt.cpp:207:20: style: The scope of the variable 'i' can be reduced. [variableScope] apngopt.cpp:207:23: style: The scope of the variable 'j' can be reduced. [variableScope] apngopt.cpp:207:26: style: The scope of the variable 'w' can be reduced. [variableScope] apngopt.cpp:207:29: style: The scope of the variable 'h' can be reduced. [variableScope] apngopt.cpp:207:32: style: The scope of the variable 'w0' can be reduced. [variableScope] apngopt.cpp:207:36: style: The scope of the variable 'h0' can be reduced. [variableScope] apngopt.cpp:207:40: style: The scope of the variable 'x0' can be reduced. [variableScope] apngopt.cpp:207:44: style: The scope of the variable 'y0' can be reduced. [variableScope] apngopt.cpp:208:16: style: The scope of the variable 'delay_num' can be reduced. [variableScope] apngopt.cpp:208:27: style: The scope of the variable 'delay_den' can be reduced. [variableScope] apngopt.cpp:208:38: style: The scope of the variable 'dop' can be reduced. [variableScope] apngopt.cpp:208:43: style: The scope of the variable 'bop' can be reduced. [variableScope] apngopt.cpp:208:48: style: The scope of the variable 'rowbytes' can be reduced. [variableScope] apngopt.cpp:208:58: style: The scope of the variable 'imagesize' can be reduced. [variableScope] apngopt.cpp:209:17: style: The scope of the variable 'sig' can be reduced. [variableScope] apngopt.cpp:214:22: style: The scope of the variable 'chunksInfo' can be reduced. [variableScope] apngopt.cpp:215:8: style: The scope of the variable 'isAnimated' can be reduced. [variableScope] apngopt.cpp:216:8: style: The scope of the variable 'hasInfo' can be reduced. [variableScope] apngopt.cpp:1167:19: style: The scope of the variable 'j' can be reduced. [variableScope] apngopt.cpp:1167:22: style: The scope of the variable 'k' can be reduced. [variableScope] apngopt.cpp:1168:16: style: The scope of the variable 'x0' can be reduced. [variableScope] apngopt.cpp:1168:20: style: The scope of the variable 'y0' can be reduced. [variableScope] apngopt.cpp:1168:24: style: The scope of the variable 'w0' can be reduced. [variableScope] apngopt.cpp:1168:28: style: The scope of the variable 'h0' can be reduced. [variableScope] apngopt.cpp:1168:32: style: The scope of the variable 'dop' can be reduced. [variableScope] apngopt.cpp:1168:37: style: The scope of the variable 'bop' can be reduced. [variableScope] apngopt.cpp:1169:16: style: The scope of the variable 'idat_size' can be reduced. [variableScope] apngopt.cpp:1169:27: style: The scope of the variable 'zbuf_size' can be reduced. [variableScope] apngopt.cpp:1171:17: style: The scope of the variable 'header' can be reduced. [variableScope] apngopt.cpp:1429:10: style: The scope of the variable 'szOpt' can be reduced. [variableScope] apngopt.cpp:1430:10: style: The scope of the variable 'szExt' can be reduced. [variableScope] apngopt.cpp:442:42: style: Parameter 'frames' can be declared as reference to const [constParameterReference] apngopt.cpp:512:48: style: Parameter 'frames' can be declared as reference to const [constParameterReference] apngopt.cpp:204:22: style: Parameter 'szIn' can be declared as pointer to const [constParameterPointer] apngopt.cpp:800:19: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1037:20: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1038:20: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1063:21: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1064:21: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1120:19: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1121:19: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] apngopt.cpp:1164:22: style: Parameter 'szOut' can be declared as pointer to const [constParameterPointer] apngopt.cpp:1171:17: style: Variable 'header' can be declared as const array [constVariable] apngopt.cpp:1429:10: style: Variable 'szOpt' can be declared as pointer to const [constVariablePointer] libpng/pngrutil.c:408:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_OK [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:484:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uInt [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:599:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_OK [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:745:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uInt [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:1375:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_OK [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:2523:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_STREAM_END [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:2663:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_STREAM_END [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:3998:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uInt [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:4471:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_OK [valueFlowBailoutIncompleteVar] libpng/pngrutil.c:1515:48: style: Condition 'size>0' is always true [knownConditionTrueFalse] libpng/pngrutil.c:1450:48: note: Assuming that condition 'size==0' is not redundant libpng/pngrutil.c:1515:48: note: Condition 'size>0' is always true libpng/pngrutil.c:3004:55: style:inconclusive: Function 'png_combine_row' argument 2 names different: declaration 'row' definition 'dp'. [funcArgNamesDifferent] libpng/pngpriv.h:1132:1: note: Function 'png_combine_row' argument 2 names different: declaration 'row' definition 'dp'. libpng/pngrutil.c:3004:55: note: Function 'png_combine_row' argument 2 names different: declaration 'row' definition 'dp'. diff: 2.18.0 7z/DeflateEncoder.cc:80:3: warning: Class 'CCoder' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head 7z/DeflateEncoder.cc:80:3: warning: Class 'CCoder' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 7z/DeflateEncoder.cc:80:3: warning: Class 'CCoder' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head 7z/DeflateEncoder.cc:80:3: warning: Class 'CCoder' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 7z/HuffmanDecoder.h:20:7: warning: Class 'CDecoder < kNumHuffmanBits >' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head 7z/HuffmanDecoder.h:20:7: warning: Class 'CDecoder < kNumHuffmanBits >' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 7z/HuffmanDecoder.h:20:7: warning: Class 'CDecoder < kNumHuffmanBits >' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head 7z/HuffmanDecoder.h:20:7: warning: Class 'CDecoder < kNumHuffmanBits >' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 7z/HuffmanEncoder.cc:15:3: warning: Class 'CEncoder' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head 7z/HuffmanEncoder.cc:15:3: warning: Class 'CEncoder' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 7z/HuffmanEncoder.cc:15:3: warning: Class 'CEncoder' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head 7z/HuffmanEncoder.cc:15:3: warning: Class 'CEncoder' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 7z/InByte.cc:9:3: warning: Class 'CInByte' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head 7z/InByte.cc:9:3: warning: Class 'CInByte' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 7z/InByte.cc:9:3: warning: Class 'CInByte' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head 7z/InByte.cc:9:3: warning: Class 'CInByte' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 7z/OutByte.cc:8:3: warning: Class 'COutByte' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head 7z/OutByte.cc:8:3: warning: Class 'COutByte' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 7z/OutByte.cc:8:3: warning: Class 'COutByte' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head 7z/OutByte.cc:8:3: warning: Class 'COutByte' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head libpng/pngwutil.c:643:28: style: Variable 'next' can be declared as pointer to const [constVariablePointer] head zopfli/deflate.c:635:33: warning: Possible null pointer dereference: splitpoints [nullPointer] zopfli/deflate.c:597:25: note: Assignment 'splitpoints=0', assigned value is 0 zopfli/deflate.c:626:13: note: Assuming condition is true zopfli/deflate.c:635:33: note: Null pointer dereference head zopfli/deflate.c:636:46: warning: Possible null pointer dereference: splitpoints [nullPointer] zopfli/deflate.c:597:25: note: Assignment 'splitpoints=0', assigned value is 0 zopfli/deflate.c:626:13: note: Assuming condition is true zopfli/deflate.c:636:46: note: Null pointer dereference head zopfli/katajainen.c:164:9: style: Variable 'node' can be declared as pointer to const [constVariablePointer] DONE