2026-05-30 04:41 ftp://ftp.de.debian.org/debian/pool/main/s/sl/sl_5.02.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 -j1 platform: Linux-6.8.0-124-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: bc2b84d (2026-05-29 17:18:27 +0200) count: 11 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: sl-5.02/sl.c:60:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] sl-5.02/sl.c:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] sl-5.02/sl.c:135:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] sl-5.02/sl.c:179:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] sl-5.02/sl.c:219:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] sl-5.02/sl.c:110:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sl-5.02/sl.c:68:16: style: Local variable 'ACCIDENT' shadows outer variable [shadowVariable] sl-5.02/sl.c:52:5: note: Shadowed variable sl-5.02/sl.c:68:16: note: Shadow local variable sl-5.02/sl.c:68:26: style: Local variable 'FLY' shadows outer variable [shadowVariable] sl-5.02/sl.c:54:5: note: Shadowed variable sl-5.02/sl.c:68:26: note: Shadow local variable sl-5.02/sl.c:66:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] sl-5.02/sl.c:272:16: style: Variable 'dy' can be declared as const array [constVariable] sl-5.02/sl.c:274:16: style: Variable 'dx' can be declared as const array [constVariable] diff: 2.20.0 sl-5.02/sl.c:68:16: style: Local variable 'ACCIDENT' shadows outer variable [shadowVariable] sl-5.02/sl.c:52:5: note: Shadowed declaration sl-5.02/sl.c:68:16: note: Shadow variable head sl-5.02/sl.c:68:16: style: Local variable 'ACCIDENT' shadows outer variable [shadowVariable] sl-5.02/sl.c:52:5: note: Shadowed variable sl-5.02/sl.c:68:16: note: Shadow local variable 2.20.0 sl-5.02/sl.c:68:26: style: Local variable 'FLY' shadows outer variable [shadowVariable] sl-5.02/sl.c:54:5: note: Shadowed declaration sl-5.02/sl.c:68:26: note: Shadow variable head sl-5.02/sl.c:68:26: style: Local variable 'FLY' shadows outer variable [shadowVariable] sl-5.02/sl.c:54:5: note: Shadowed variable sl-5.02/sl.c:68:26: note: Shadow local variable DONE