2025-11-24 22:50 ftp://ftp.de.debian.org/debian/pool/main/a/adv-17v35x/adv-17v35x_5.0.7.0.orig.tar.gz 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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 9 9 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: adv_17V35X/getconfig/getconfig.c:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] adv_17V35X/precomp.h:1:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] adv_17V35X/getconfig/getconfig.c:69:3: error: Resource leak: fd [resourceLeak] adv_17V35X/getconfig/getconfig.c:53:24: style: Parameter 'ttyname' can be declared as pointer to const [constParameterPointer] adv_17V35X/getconfig/getconfig.c:75:10: style: Variable 'bResult' is assigned a value that is never used. [unreadVariable] adv_17V35X/getconfig/getconfig.c:55:6: style: Unused variable: i [unusedVariable] adv_17V35X/getconfig/getconfig.c:55:8: style: Unused variable: k [unusedVariable] adv_17V35X/getconfig/getconfig.c:55:11: style: Unused variable: ttynum [unusedVariable] adv_17V35X/getconfig/getconfig.c:57:23: style: Unused variable: serinfo [unusedVariable] diff: 2.18.0 adv_17V35X/adv17v35x.c:297:51: error: syntax error [syntaxError] head adv_17V35X/precomp.h:1:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] DONE