2025-07-01 03:09 ftp://ftp.de.debian.org/debian/pool/main/t/tegaki-tools/tegaki-tools_0.3.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j1 platform: Linux-6.8.0-62-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: dfa16af (2025-06-30 19:43:56 +0200) count: 21 21 elapsed-time: 0.4 0.5 head-timing-info: old-timing-info: head results: tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT16 [valueFlowBailoutIncompleteVar] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:416:23: style:inconclusive: Function 'gifenc_close' argument 1 names different: declaration 'gifenc' definition 'enc'. [funcArgNamesDifferent] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.h:89:58: note: Function 'gifenc_close' argument 1 names different: declaration 'gifenc' definition 'enc'. tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:416:23: note: Function 'gifenc_close' argument 1 names different: declaration 'gifenc' definition 'enc'. tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:109:47: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:125:55: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:450:27: style: Parameter 'gifenc' can be declared as pointer to const [constParameterPointer] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:458:28: style: Parameter 'gifenc' can be declared as pointer to const [constParameterPointer] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:252:18: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:486:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:499:10: style: Variable 'this[c]' is assigned a value that is never used. [unreadVariable] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/gifenc.c:546:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/quantize.c:354:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] tegaki-tools-0.3.1/tegaki-gifenc/gifenc/quantize.c:362:11: style: Variable 'count' is assigned a value that is never used. [unreadVariable] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:44:13: warning: Member variable 'GifEncoder::enc' is not initialized in the constructor. [uninitMemberVar] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:44:13: warning: Member variable 'GifEncoder::output' is not initialized in the constructor. [uninitMemberVar] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:64:5: warning: Possible leak in public function. The pointer 'output' is not deallocated before it is allocated. [publicAllocationError] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:39:13: style: C-style pointer casting [cstyleCast] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:55:38: style: C-style pointer casting [cstyleCast] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:78:22: style: C-style pointer casting [cstyleCast] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:79:51: style: C-style pointer casting [cstyleCast] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:82:22: style: C-style pointer casting [cstyleCast] tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:60:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] diff: head tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:55:38: style: C-style pointer casting [cstyleCast] 2.17.0 tegaki-tools-0.3.1/tegaki-gifenc/tegakigifenc.cpp:55:39: style: C-style pointer casting [cstyleCast] DONE