2022-06-25 12:31 ftp://ftp.de.debian.org/debian/pool/main/t/teensy-loader-cli/teensy-loader-cli_2.2.orig.tar.xz 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: 15 15 elapsed-time: 0.2 0.2 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: teensy_loader_cli-2.2/teensy_loader_cli.c:1037:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] teensy_loader_cli-2.2/teensy_loader_cli.c:907:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:910:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:913:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:923:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:926:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:932:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:935:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:949:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:958:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] teensy_loader_cli-2.2/teensy_loader_cli.c:1027:11: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] teensy_loader_cli-2.2/teensy_loader_cli.c:1049:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] teensy_loader_cli-2.2/rebootor/usb.c:150:10: style: struct member 'usb_string_descriptor_struct::bLength' is never used. [unusedStructMember] teensy_loader_cli-2.2/rebootor/usb.c:151:10: style: struct member 'usb_string_descriptor_struct::bDescriptorType' is never used. [unusedStructMember] teensy_loader_cli-2.2/rebootor/usb.c:152:10: style: struct member 'usb_string_descriptor_struct::wString' is never used. [unusedStructMember] diff: DONE