2026-05-02 19:48 ftp://ftp.de.debian.org/debian/pool/main/k/kiwix-tools/kiwix-tools_3.7.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-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: e5c4a73 (2026-05-01 11:10:43 +0200) count: 28 28 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: kiwix-tools-3.7.0/src/version.h:33:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:57:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:127:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:193:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:223:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:123:7: style: The scope of the variable 'c' can be reduced. [variableScope] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:188:15: style: The scope of the variable 'bookId' can be reduced. [variableScope] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:228:7: style: The scope of the variable 'c' can be reduced. [variableScope] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:169:17: style: Local variable 'zimPath' shadows outer variable [shadowVariable] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:119:10: note: Shadowed declaration kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:169:17: note: Shadow variable kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:109:15: style: Variable 'bookId' can be declared as reference to const [constVariableReference] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:100:34: style: Parameter 'argv' can be declared as const array [constParameter] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:117:33: style: Parameter 'argv' can be declared as const array [constParameter] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:133:24: style: Variable 'long_options' can be declared as const array [constVariable] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:186:36: style: Parameter 'argv' can be declared as const array [constParameter] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:222:24: style: Variable 'long_options' can be declared as const array [constVariable] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:123:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] kiwix-tools-3.7.0/src/manager/kiwix-manage.cpp:119:10: style: Unused variable: zimPath [unusedVariable] kiwix-tools-3.7.0/src/searcher/kiwix-search.cpp:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/searcher/kiwix-search.cpp:59:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/searcher/kiwix-search.cpp:58:26: style: Variable 'long_options' can be declared as const array [constVariable] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:47:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:224:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:223:24: style: Variable 'long_options' can be declared as const array [constVariable] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:171:7: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:205:15: style: Unused variable: rootPath [unusedVariable] kiwix-tools-3.7.0/src/server/kiwix-serve.cpp:355:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] diff: DONE