2025-07-06 03:17 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 --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 32 32 elapsed-time: 0.3 0.3 head-timing-info: old-timing-info: head results: teensy_loader_cli-2.2/rebootor/rebootor.c:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLKPR [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:213:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLLCSR [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:242:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDINT [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:259:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UEINTX [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UEINTX [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:267:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UEINTX [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:271:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UEINTX [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/rebootor/usb.c:295:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UENUM [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:165:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:881:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:1026:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:1046:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:1106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:1135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] teensy_loader_cli-2.2/teensy_loader_cli.c:1173:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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:1101:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 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