2026-03-19 08:45 ftp://ftp.de.debian.org/debian/pool/main/t/ttygif/ttygif_1.5.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 -j1 platform: Linux-6.8.0-106-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: b52fd48 (2026-03-17 18:11:35 +0200) count: 16 16 elapsed-time: 0.1 0.2 head-timing-info: old-timing-info: head results: ttygif-1.5.0/io.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ttygif-1.5.0/io.c:136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ttygif-1.5.0/io.c:147:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ttygif-1.5.0/io.c:158:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ttygif-1.5.0/io.c:56:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ttygif-1.5.0/io.c:57:10: style: Variable 'x' can be declared as const array [constVariable] ttygif-1.5.0/io.c:98:33: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] ttygif-1.5.0/string_builder.c:12:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ttygif-1.5.0/string_builder.c:50:34: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] ttygif-1.5.0/ttygif.c:112:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ttygif-1.5.0/ttygif.c:356:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] ttygif-1.5.0/ttygif.c:165:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ttygif-1.5.0/ttygif.c:110:17: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ttywrite' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ttygif-1.5.0/ttygif.c:277:26: note: You might need to cast the function pointer here ttygif-1.5.0/ttygif.c:110:17: note: Parameter 'buf' can be declared as pointer to const ttygif-1.5.0/ttygif.c:203:15: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] ttygif-1.5.0/ttygif.c:297:25: style: Variable 'read_func' is assigned a value that is never used. [unreadVariable] ttygif-1.5.0/utils.c:10:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diff: DONE