2026-05-05 14:22 ftp://ftp.de.debian.org/debian/pool/main/u/unhtml/unhtml_2.3.9.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: 6278f6b (2026-05-05 15:01:04 +0200) count: 23 19 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: unhtml-2.3.9/esc.c:146:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unhtml-2.3.9/esc.c:205:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] unhtml-2.3.9/esc.c:186:14: style: Condition '0<=chr' is always true [knownConditionTrueFalse] unhtml-2.3.9/esc.c:185:27: note: Assuming that condition 'chr==0' is not redundant unhtml-2.3.9/esc.c:186:14: note: Condition '0<=chr' is always true unhtml-2.3.9/esc.c:142:15: style:inconclusive: Function 'm_putchar' argument 1 names different: declaration '' definition 'chr'. [funcArgNamesDifferentUnnamed] unhtml-2.3.9/esc.c:201:11: style:inconclusive: Function 'flush' argument 1 names different: declaration '' definition 'md'. [funcArgNamesDifferentUnnamed] unhtml-2.3.9/esc.c:212:12: style:inconclusive: Function 'scmp' argument 1 names different: declaration '' definition 's1'. [funcArgNamesDifferentUnnamed] unhtml-2.3.9/esc.c:212:22: style:inconclusive: Function 'scmp' argument 2 names different: declaration '' definition 's2'. [funcArgNamesDifferentUnnamed] unhtml-2.3.9/esc.c:212:12: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] unhtml-2.3.9/esc.c:212:22: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] unhtml-2.3.9/ops.c:151:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unhtml-2.3.9/ops.c:24:31: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] unhtml-2.3.9/ops.c:66:31: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] unhtml-2.3.9/ops.c:110:26: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] unhtml-2.3.9/ops.c:112:17: style: Variable 'html' can be declared as const array [constVariable] unhtml-2.3.9/unhtml.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] unhtml-2.3.9/unhtml.c:79:7: error: Memory leak: tag [memleak] unhtml-2.3.9/unhtml.c:31:26: style: Parameter 'argv' can be declared as const array [constParameter] unhtml-2.3.9/unhtml.c:97:9: warning: Storing fgetc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] unhtml-2.3.9/unhtml.c:114:12: warning: Storing fgetc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] unhtml-2.3.9/unhtml.c:200:16: warning: Storing fgetc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] unhtml-2.3.9/unhtml.c:206:13: warning: Storing fgetc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] unhtml-2.3.9/unhtml.c:224:16: warning: Storing fgetc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] unhtml-2.3.9/unhtml.c:249:13: warning: Storing fgetc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] diff: head unhtml-2.3.9/esc.c:142:15: style:inconclusive: Function 'm_putchar' argument 1 names different: declaration '' definition 'chr'. [funcArgNamesDifferentUnnamed] head unhtml-2.3.9/esc.c:201:11: style:inconclusive: Function 'flush' argument 1 names different: declaration '' definition 'md'. [funcArgNamesDifferentUnnamed] head unhtml-2.3.9/esc.c:212:12: style:inconclusive: Function 'scmp' argument 1 names different: declaration '' definition 's1'. [funcArgNamesDifferentUnnamed] head unhtml-2.3.9/esc.c:212:22: style:inconclusive: Function 'scmp' argument 2 names different: declaration '' definition 's2'. [funcArgNamesDifferentUnnamed] DONE