2024-11-20 05:54 ftp://ftp.de.debian.org/debian/pool/main/l/lxqt-policykit/lxqt-policykit_2.0.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=gtk --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-49-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.65 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.15.0 head-info: ac3c395 (2024-11-19 18:42:47 +0100) count: 8 8 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: lxqt-policykit-2.0.0/src/main.cpp:49:29: error: There is an unknown macro here somewhere. Configuration is required. If LXQT_VERSION is a macro then please configure it. [unknownMacro] lxqt-policykit-2.0.0/src/policykitagent.cpp:184:48: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] lxqt-policykit-2.0.0/src/policykitagent.h:52:5: style: Class 'PolicykitAgent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lxqt-policykit-2.0.0/src/policykitagentgui.cpp:65:81: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] lxqt-policykit-2.0.0/src/policykitagentgui.cpp:82:77: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Password [valueFlowBailoutIncompleteVar] lxqt-policykit-2.0.0/src/policykitagentgui.cpp:106:82: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Password [valueFlowBailoutIncompleteVar] lxqt-policykit-2.0.0/src/policykitagentgui.cpp:60:18: style: Condition 'u_id!=nullptr' is always true [knownConditionTrueFalse] lxqt-policykit-2.0.0/src/policykitagentgui.cpp:55:37: style: Local variable 'identity' shadows outer function [shadowFunction] lxqt-policykit-2.0.0/src/policykitagentgui.h:61:13: note: Shadowed declaration lxqt-policykit-2.0.0/src/policykitagentgui.cpp:55:37: note: Shadow variable diff: head lxqt-policykit-2.0.0/src/policykitagent.cpp:184:48: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] 2.15.0 lxqt-policykit-2.0.0/src/policykitagent.cpp:184:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head lxqt-policykit-2.0.0/src/policykitagentgui.cpp:106:82: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Password [valueFlowBailoutIncompleteVar] 2.15.0 lxqt-policykit-2.0.0/src/policykitagentgui.cpp:106:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Password [valueFlowBailoutIncompleteVar] head lxqt-policykit-2.0.0/src/policykitagentgui.cpp:65:81: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] 2.15.0 lxqt-policykit-2.0.0/src/policykitagentgui.cpp:65:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] head lxqt-policykit-2.0.0/src/policykitagentgui.cpp:82:77: debug: analyzeConditionExpressions bailout: Skipping function due to incomplete variable Password [valueFlowBailoutIncompleteVar] 2.15.0 lxqt-policykit-2.0.0/src/policykitagentgui.cpp:82:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Password [valueFlowBailoutIncompleteVar] DONE