2026-05-06 05:20 ftp://ftp.de.debian.org/debian/pool/main/a/argtable2/argtable2_13.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: 58 38 elapsed-time: 1.5 1.3 head-timing-info: old-timing-info: head results: argtable2-13/example/argcustom.c:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/argxxx.c:222:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_HASVALUE [valueFlowBailoutIncompleteVar] argtable2-13/example/callbacks.c:184:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/echo.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/hasoptvalue.c:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_HASOPTVALUE [valueFlowBailoutIncompleteVar] argtable2-13/example/ls.c:262:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_HASOPTVALUE [valueFlowBailoutIncompleteVar] argtable2-13/example/multisyntax.c:77:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/multisyntax.c:189:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/mv.c:117:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/mv.c:57:36: style: Condition 'verbose' is always true [knownConditionTrueFalse] argtable2-13/example/myprog.c:89:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/myprog_C89.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/rm.c:82:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/example/rm.c:40:48: style: Condition 'v' is always true [knownConditionTrueFalse] argtable2-13/example/uname.c:78:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/src/arg_date.c:115:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] argtable2-13/src/arg_end.c:70:29: style:inconclusive: Function 'arg_end' argument 1 names different: declaration 'maxerrors' definition 'maxcount'. [funcArgNamesDifferent] argtable2-13/src/argtable2.h:275:29: note: Function 'arg_end' argument 1 names different: declaration 'maxerrors' definition 'maxcount'. argtable2-13/src/arg_end.c:70:29: note: Function 'arg_end' argument 1 names different: declaration 'maxerrors' definition 'maxcount'. argtable2-13/src/arg_rex.c:211:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] argtable2-13/src/arg_rex.c:77:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] argtable2-13/src/argtable2.c:964:19: style: Checking if unsigned expression 'line_end' is less than zero. [unsignedLessThanZero] argtable2-13/src/argtable2.c:959:27: note: Assignment 'line_start=0', assigned value is 0 argtable2-13/src/argtable2.c:964:19: note: Unsigned less than zero argtable2-13/src/argtable2.c:97:43: style: Parameter 'longoptions' can be declared as pointer to const [constParameterPointer] argtable2-13/src/argtable2.c:211:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] argtable2-13/src/argtable2.c:226:29: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] argtable2-13/src/argtable2.c:757:11: style: Variable 'format1' can be declared as pointer to const [constVariablePointer] argtable2-13/src/argtable2.c:758:11: style: Variable 'format2' can be declared as pointer to const [constVariablePointer] argtable2-13/src/argtable2.c:759:11: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] argtable2-13/src/getopt.c:639:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] argtable2-13/src/getopt.c:476:10: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:477:19: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:478:18: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:479:27: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '' definition 'longopts'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:480:11: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '' definition 'longind'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:481:10: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '' definition 'long_only'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:931:10: style:inconclusive: Function 'getopt' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:932:19: style:inconclusive: Function 'getopt' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:933:18: style:inconclusive: Function 'getopt' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt.c:734:9: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] argtable2-13/src/getopt1.c:68:10: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:69:19: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:70:18: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:71:27: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:72:11: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:84:10: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:85:19: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:86:18: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:87:27: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] argtable2-13/src/getopt1.c:88:11: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] argtable2-13/tests/fntests.c:111:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/fntests.c:135:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/fntests.c:166:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/fntests.c:220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] argtable2-13/tests/test_date.c:58:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/test_dbl.c:78:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/test_file.c:76:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/test_file.c:43:10: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] argtable2-13/tests/test_int.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/test_lit.c:58:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] argtable2-13/tests/test_rex.c:31:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] diff: head argtable2-13/src/argtable2.c:211:24: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] head argtable2-13/src/getopt.c:476:10: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:477:19: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:478:18: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:479:27: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '' definition 'longopts'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:480:11: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '' definition 'longind'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:481:10: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '' definition 'long_only'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:931:10: style:inconclusive: Function 'getopt' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:932:19: style:inconclusive: Function 'getopt' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt.c:933:18: style:inconclusive: Function 'getopt' argument 3 names different: declaration '' definition 'optstring'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:68:10: style:inconclusive: Function 'getopt_long' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:69:19: style:inconclusive: Function 'getopt_long' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:70:18: style:inconclusive: Function 'getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:71:27: style:inconclusive: Function 'getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:72:11: style:inconclusive: Function 'getopt_long' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:84:10: style:inconclusive: Function 'getopt_long_only' argument 1 names different: declaration '' definition 'argc'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:85:19: style:inconclusive: Function 'getopt_long_only' argument 2 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:86:18: style:inconclusive: Function 'getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:87:27: style:inconclusive: Function 'getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head argtable2-13/src/getopt1.c:88:11: style:inconclusive: Function 'getopt_long_only' argument 5 names different: declaration '' definition 'opt_index'. [funcArgNamesDifferentUnnamed] DONE