2026-05-02 06:16 ftp://ftp.de.debian.org/debian/pool/main/g/gnome-power-manager/gnome-power-manager_50.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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-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: 24 24 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: gnome-power-manager-50.0/src/egg-graph-widget.c:250:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:322:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:361:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_graph_widget_parent_class [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:519:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:586:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:666:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MINFLOAT [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:758:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MINFLOAT [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:1193:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gnome-power-manager-50.0/src/egg-graph-widget.c:372:87: style:inconclusive: Function 'egg_graph_widget_data_add' argument 3 names different: declaration 'array' definition 'data'. [funcArgNamesDifferent] gnome-power-manager-50.0/src/egg-graph-widget.h:70:21: note: Function 'egg_graph_widget_data_add' argument 3 names different: declaration 'array' definition 'data'. gnome-power-manager-50.0/src/egg-graph-widget.c:372:87: note: Function 'egg_graph_widget_data_add' argument 3 names different: declaration 'array' definition 'data'. gnome-power-manager-50.0/src/egg-graph-widget.c:136:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gnome-power-manager-50.0/src/egg-graph-widget.c:141:83: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'up_graph_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-power-manager-50.0/src/egg-graph-widget.c:241:31: note: You might need to cast the function pointer here gnome-power-manager-50.0/src/egg-graph-widget.c:141:83: note: Parameter 'pspec' can be declared as pointer to const gnome-power-manager-50.0/src/egg-graph-widget.c:144:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gnome-power-manager-50.0/src/egg-graph-widget.c:186:89: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'up_graph_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnome-power-manager-50.0/src/egg-graph-widget.c:242:31: note: You might need to cast the function pointer here gnome-power-manager-50.0/src/egg-graph-widget.c:186:89: note: Parameter 'pspec' can be declared as pointer to const gnome-power-manager-50.0/src/egg-graph-widget.c:372:87: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gnome-power-manager-50.0/src/egg-graph-widget.c:663:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] gnome-power-manager-50.0/src/egg-graph-widget.c:762:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] gnome-power-manager-50.0/src/egg-graph-widget.c:896:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gnome-power-manager-50.0/src/egg-graph-widget.c:923:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] gnome-power-manager-50.0/src/egg-graph-widget.c:58:11: style: struct member 'EggGraphWidgetPrivate::title' is never used. [unusedStructMember] gnome-power-manager-50.0/src/egg-graph-widget.c:507:18: style: Variable 'offsetx' is assigned a value that is never used. [unreadVariable] gnome-power-manager-50.0/src/egg-graph-widget.c:508:18: style: Variable 'offsety' is assigned a value that is never used. [unreadVariable] gnome-power-manager-50.0/src/gpm-array-float.c:191:39: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] gnome-power-manager-50.0/src/gpm-rotated-widget.c:69:44: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] gnome-power-manager-50.0/src/gpm-statistics.c:266:2: error: failed to evaluate #if condition, undefined function-like macro invocation: UP_CHECK_VERSION( ... ) [syntaxError] diff: DONE