2025-05-10 21:08 ftp://ftp.de.debian.org/debian/pool/main/g/gif2apng/gif2apng_1.9+srconly.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: beb3362 (2025-05-10 14:33:23 +0200) count: 95 86 elapsed-time: 4.9 5.0 head-timing-info: old-timing-info: head results: gif2apng-1.9.orig/gif2apng.cpp:195:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_NULL [valueFlowBailoutIncompleteVar] gif2apng-1.9.orig/gif2apng.cpp:280:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZOPFLI_FORMAT_ZLIB [valueFlowBailoutIncompleteVar] gif2apng-1.9.orig/gif2apng.cpp:311:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_BINARY [valueFlowBailoutIncompleteVar] gif2apng-1.9.orig/gif2apng.cpp:968:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_BINARY [valueFlowBailoutIncompleteVar] gif2apng-1.9.orig/gif2apng.cpp:77:10: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:77:32: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:78:20: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:78:48: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:80:10: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:80:34: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:81:20: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:81:50: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:83:10: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:83:32: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:84:20: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:84:48: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:86:10: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:86:32: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:87:20: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:87:48: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:89:18: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:89:46: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:200:21: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:206:23: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:589:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:881:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:888:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:889:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:890:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:891:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:892:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:893:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:894:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:895:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:954:31: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:957:33: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:960:33: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:980:17: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:984:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:988:14: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:992:17: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:1210:37: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:1301:33: style: C-style pointer casting [cstyleCast] gif2apng-1.9.orig/gif2apng.cpp:423:23: style: The scope of the variable 'j' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:423:26: style: The scope of the variable 'k' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:423:29: style: The scope of the variable 'n' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:423:32: style: The scope of the variable 'start' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:424:42: style: The scope of the variable 'x1' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:424:46: style: The scope of the variable 'y1' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:424:50: style: The scope of the variable 'w1' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:424:54: style: The scope of the variable 'h1' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:424:58: style: The scope of the variable 'h2' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:20: style: The scope of the variable 'has_tcolor' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:32: style: The scope of the variable 'tcolor' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:40: style: The scope of the variable 'unused' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:48: style: The scope of the variable 'tr' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:52: style: The scope of the variable 'tg' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:56: style: The scope of the variable 'tb' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:425:60: style: The scope of the variable 'grayscale' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:426:63: style: The scope of the variable 'dop' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:426:68: style: The scope of the variable 'bop' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:427:20: style: The scope of the variable 'dispose_op' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:427:32: style: The scope of the variable 'interlaced' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:427:44: style: The scope of the variable 'has_t' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:428:20: style: The scope of the variable 'c' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:432:20: style: The scope of the variable 'szOpt' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:433:20: style: The scope of the variable 'szExt' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:435:20: style: The scope of the variable 'f2' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:443:20: style: The scope of the variable 'coltype' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:444:20: style: The scope of the variable 'frames' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:444:28: style: The scope of the variable 'loops' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:444:35: style: The scope of the variable 'bpp' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:445:20: style: The scope of the variable 'rowbytes' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:445:30: style: The scope of the variable 'imagesize' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:445:41: style: The scope of the variable 'idat_size' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:445:52: style: The scope of the variable 'zbuf_size' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:447:20: style: The scope of the variable 'palsize_g' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:448:20: style: The scope of the variable 'palsize_l' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:449:20: style: The scope of the variable 'plte_size' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:450:20: style: The scope of the variable 'trns_size' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:451:20: style: The scope of the variable 'ssize' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:463:20: style: The scope of the variable 'rest' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:468:20: style: The scope of the variable 'delays' can be reduced. [variableScope] gif2apng-1.9.orig/gif2apng.cpp:348:20: style: Variable 'pa' can be declared as pointer to const [constVariablePointer] gif2apng-1.9.orig/gif2apng.cpp:349:20: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] gif2apng-1.9.orig/gif2apng.cpp:432:20: style: Variable 'szOpt' can be declared as pointer to const [constVariablePointer] gif2apng-1.9.orig/gif2apng.cpp:922:25: style: struct member 'IHDR::mWidth' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:923:25: style: struct member 'IHDR::mHeight' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:924:25: style: struct member 'IHDR::mDepth' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:925:25: style: struct member 'IHDR::mColorType' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:926:25: style: struct member 'IHDR::mCompression' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:927:25: style: struct member 'IHDR::mFilterMethod' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:928:25: style: struct member 'IHDR::mInterlaceMethod' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:933:25: style: struct member 'acTL::mFrameCount' is never used. [unusedStructMember] gif2apng-1.9.orig/gif2apng.cpp:934:25: style: struct member 'acTL::mLoopCount' is never used. [unusedStructMember] diff: head gif2apng-1.9.orig/gif2apng.cpp:77:32: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:78:48: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:80:34: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:81:50: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:83:32: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:84:48: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:86:32: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:87:48: style: C-style pointer casting [cstyleCast] head gif2apng-1.9.orig/gif2apng.cpp:89:46: style: C-style pointer casting [cstyleCast] DONE