2022-06-25 17:06 ftp://ftp.de.debian.org/debian/pool/main/v/v86d/v86d_0.1.10.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: d204c5f (2022-06-25 17:09:51 +0200) count: 30 31 elapsed-time: 53.5 46.4 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: v86d-0.1.10/libs/x86emu/decode.c:99:1: error: There is an unknown macro here somewhere. Configuration is required. If DB is a macro then please configure it. [unknownMacro] v86d-0.1.10/libs/lrmi-0.10/vbetest.c:225:9: style: Local variable 'r' shadows outer variable [shadowVariable] v86d-0.1.10/libs/lrmi-0.10/vbetest.c:183:19: note: Shadowed declaration v86d-0.1.10/libs/lrmi-0.10/vbetest.c:225:9: note: Shadow variable v86d-0.1.10/libs/x86emu/prim_ops.c:2590:1: error: There is an unknown macro here somewhere. Configuration is required. If DB is a macro then please configure it. [unknownMacro] v86d-0.1.10/libs/x86emu/ops.c:11083:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11083:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11090:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11090:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11100:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11100:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11107:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11107:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11144:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11144:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11150:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11150:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11165:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11165:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11172:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11172:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11182:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11182:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11189:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11189:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11226:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11226:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11232:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11232:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11247:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11247:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11254:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11254:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11264:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11264:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11271:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11271:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11308:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11308:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11314:21: style: Local variable 'destval' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11027:6: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11314:21: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11327:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11026:7: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11327:22: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11334:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11026:7: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11334:22: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11344:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11026:7: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11344:22: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11351:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11026:7: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11351:22: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11385:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11026:7: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11385:22: note: Shadow variable v86d-0.1.10/libs/x86emu/ops.c:11392:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] v86d-0.1.10/libs/x86emu/ops.c:11026:7: note: Shadowed declaration v86d-0.1.10/libs/x86emu/ops.c:11392:22: note: Shadow variable v86d-0.1.10/v86.c:102:3: error: Resource leak: s [resourceLeak] v86d-0.1.10/v86_common.c:120:3: style: Variable 'cbuf' is assigned a value that is never used. [unreadVariable] v86d-0.1.10/v86_common.c:120:3: style: Variable 'fsize' is assigned a value that is never used. [unreadVariable] diff: 2.8 v86d-0.1.10/libs/x86emu/sys.c:628:19: style: Parameter 'funcs' can be declared with const [constParameter] DONE