2026-05-01 06:55 ftp://ftp.de.debian.org/debian/pool/main/c/c2050/c2050_0.3b.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-111-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: 0fda84e (2026-05-01 02:32:52 +0200) count: 17 17 elapsed-time: 0.5 0.4 head-timing-info: old-timing-info: head results: c2050-0.3b/c2050.c:69:1: portability: Omitted return type of function 'SweepBuffer_Init' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] c2050-0.3b/c2050.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] c2050-0.3b/c2050.c:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] c2050-0.3b/c2050.c:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] c2050-0.3b/c2050.c:215:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] c2050-0.3b/c2050.c:399:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] c2050-0.3b/c2050.c:129:17: style: Array index 'redleft' is used before limits check. [arrayIndexThenCheck] c2050-0.3b/c2050.c:363:25: error: Expression 'CurrentColBuffer=++CurrentColBuffer%3' depends on order of evaluation of side effects [unknownEvaluationOrder] c2050-0.3b/c2050.c:83:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] c2050-0.3b/c2050.c:124:23: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] c2050-0.3b/c2050.c:125:38: style: Parameter 'bytesize' can be declared as pointer to const [constParameterPointer] c2050-0.3b/c2050.c:173:25: style: Parameter 'line' can be declared as const array [constParameter] c2050-0.3b/c2050.c:186:29: style: Variable 'cur_height' is assigned a value that is never used. [unreadVariable] c2050-0.3b/c2050.c:186:46: style: Variable 'page_height' is assigned a value that is never used. [unreadVariable] c2050-0.3b/c2050.c:196:17: style: Variable 'i' is assigned a value that is never used. [unreadVariable] c2050-0.3b/c2050.c:198:24: style: Variable 'CurrentColBuffer' is assigned a value that is never used. [unreadVariable] c2050-0.3b/c2050.c:202:21: style: Variable 'yellowcounter' is assigned a value that is never used. [unreadVariable] diff: DONE