2022-06-24 11:01 ftp://ftp.de.debian.org/debian/pool/main/p/pianobar/pianobar_2022.04.01.orig.tar.bz2 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: 60c1eef (2022-06-23 20:26:47 +0200) count: 9 9 elapsed-time: 6.6 8.1 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: pianobar-2022.04.01/src/libpiano/list.c:60:75: style: Parameter 'e' can be declared as pointer to const [constParameter] pianobar-2022.04.01/src/libpiano/request.c:103:6: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pianobar-2022.04.01/src/libpiano/request.c:517:3: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pianobar-2022.04.01/src/libpiano/request.c:502:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pianobar-2022.04.01/src/libpiano/response.c:625:15: style: Local variable 'i' shadows outer variable [shadowVariable] pianobar-2022.04.01/src/libpiano/response.c:619:17: note: Shadowed declaration pianobar-2022.04.01/src/libpiano/response.c:625:15: note: Shadow variable pianobar-2022.04.01/src/ui.c:806:22: style: Redundant condition: filter!=NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] pianobar-2022.04.01/src/ui.c:941:4: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pianobar-2022.04.01/src/ui.c:945:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] pianobar-2022.04.01/src/settings.c:58:29: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] diff: head pianobar-2022.04.01/src/libpiano/list.c:60:75: style: Parameter 'e' can be declared as pointer to const [constParameter] 2.8 pianobar-2022.04.01/src/libpiano/list.c:60:75: style: Parameter 'e' can be declared with const [constParameter] DONE