2025-07-11 08:58 ftp://ftp.de.debian.org/debian/pool/main/r/rglpk/rglpk_0.6-5.1.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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 25 25 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: Rglpk/src/init.c:77:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Rglpk/src/Rglpk_read_file.c:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLP_ON [valueFlowBailoutIncompleteVar] Rglpk/src/Rglpk_read_file.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLP_ON [valueFlowBailoutIncompleteVar] Rglpk/src/Rglpk_solve.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLP_ON [valueFlowBailoutIncompleteVar] Rglpk/src/Rglpk_read_file.c:18:20: style: Local variable 'lp' shadows outer variable [shadowVariable] Rglpk/src/Rglpk_read_file.c:13:18: note: Shadowed declaration Rglpk/src/Rglpk_read_file.c:18:20: note: Shadow variable Rglpk/src/Rglpk_read_file.c:38:20: style: Local variable 'lp' shadows outer variable [shadowVariable] Rglpk/src/Rglpk_read_file.c:13:18: note: Shadowed declaration Rglpk/src/Rglpk_read_file.c:38:20: note: Shadow variable Rglpk/src/Rglpk_read_file.c:153:20: style: Local variable 'lp' shadows outer variable [shadowVariable] Rglpk/src/Rglpk_read_file.c:13:18: note: Shadowed declaration Rglpk/src/Rglpk_read_file.c:153:20: note: Shadow variable Rglpk/src/Rglpk_read_file.c:28:41: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_read_file.c:35:14: style: Parameter 'lp_verbosity' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_read_file.c:133:53: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_read_file.c:134:12: style: Parameter 'lp_n_constraints' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_read_file.c:135:12: style: Parameter 'lp_n_objective_vars' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_read_file.c:148:12: style: Parameter 'lp_ignore_first_row' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_read_file.c:149:12: style: Parameter 'lp_verbosity' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:9:24: style: Parameter 'lp_direction' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:10:24: style: Parameter 'lp_direction_of_constraints' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:13:24: style: Parameter 'lp_objective_var_is_integer' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:14:24: style: Parameter 'lp_objective_var_is_binary' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:15:24: style: Parameter 'lp_is_integer' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:28:24: style: Parameter 'lp_verbosity' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:29:24: style: Parameter 'lp_presolve' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:30:24: style: Parameter 'lp_time_limit' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:34:24: style: Parameter 'write_sensitivity_report' can be declared as pointer to const [constParameterPointer] Rglpk/src/Rglpk_solve.c:97:8: style: Variable 'kl' is assigned a value that is never used. [unreadVariable] Rglpk/src/Rglpk_solve.c:97:13: style: Variable 'ku' is assigned a value that is never used. [unreadVariable] diff: DONE