2022-06-25 00:26 ftp://ftp.de.debian.org/debian/pool/main/r/root-tail/root-tail_1.3.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 -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: 11860cc (2022-06-24 13:55:04 +0200) count: 5 5 elapsed-time: 9.6 14.1 head-timing-info: Tokenizer::simplifyTokens1: 3.13873s (avg. 3.13873s - 1 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 3.09997s (avg. 3.09997s - 1 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.022534s (avg. 0.022534s - 1 result(s)) UnusedVar::runChecks: 0.008652s (avg. 0.008652s - 1 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.006237s (avg. 0.006237s - 1 result(s)) Overall time: 6.30042s old-timing-info: Tokenizer::simplifyTokens1: 4.5743s (avg. 4.5743s - 1 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 4.53548s (avg. 4.53548s - 1 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.022988s (avg. 0.022988s - 1 result(s)) UnusedVar::runChecks: 0.011364s (avg. 0.011364s - 1 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.005538s (avg. 0.005538s - 1 result(s)) Overall time: 9.17667s head results: root-tail-1.3/root-tail.c:372:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] root-tail-1.3/root-tail.c:1387:19: warning: %li in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] root-tail-1.3/root-tail.c:388:27: style: Local variable 'e' shadows outer variable [shadowVariable] root-tail-1.3/root-tail.c:294:25: note: Shadowed declaration root-tail-1.3/root-tail.c:388:27: note: Shadow variable root-tail-1.3/root-tail.c:454:18: style: Variable 'foreground' is assigned a value that is never used. [unreadVariable] root-tail-1.3/root-tail.c:746:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] diff: DONE