2022-06-25 12:32 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 --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 63e567e (2022-06-25 08:38:17 +0200) count: 14 14 elapsed-time: 0.1 0.1 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: 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/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: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/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:39: 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] diff: DONE