2026-05-05 21:58 ftp://ftp.de.debian.org/debian/pool/main/x/xfce4-indicator-plugin/xfce4-indicator-plugin_2.4.2.orig.tar.bz2 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: 6278f6b (2026-05-05 15:01:04 +0200) count: 42 42 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:138:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfce_indicator_box_parent_class [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:313:53: style:inconclusive: Function 'xfce_indicator_box_get_preferred_length' argument 2 names different: declaration 'minimal_length' definition 'minimum_length'. [funcArgNamesDifferent] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:54:88: note: Function 'xfce_indicator_box_get_preferred_length' argument 2 names different: declaration 'minimal_length' definition 'minimum_length'. xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:313:53: note: Function 'xfce_indicator_box_get_preferred_length' argument 2 names different: declaration 'minimal_length' definition 'minimum_length'. xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:423:52: style:inconclusive: Function 'xfce_indicator_box_get_preferred_width' argument 2 names different: declaration 'minimal_width' definition 'minimum_width'. [funcArgNamesDifferent] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:57:88: note: Function 'xfce_indicator_box_get_preferred_width' argument 2 names different: declaration 'minimal_width' definition 'minimum_width'. xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:423:52: note: Function 'xfce_indicator_box_get_preferred_width' argument 2 names different: declaration 'minimal_width' definition 'minimum_width'. xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:447:53: style:inconclusive: Function 'xfce_indicator_box_get_preferred_height' argument 2 names different: declaration 'minimal_height' definition 'minimum_height'. [funcArgNamesDifferent] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:60:88: note: Function 'xfce_indicator_box_get_preferred_height' argument 2 names different: declaration 'minimal_height' definition 'minimum_height'. xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:447:53: note: Function 'xfce_indicator_box_get_preferred_height' argument 2 names different: declaration 'minimal_height' definition 'minimum_height'. xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:161:52: style: Parameter 'config' can be declared as pointer to const. However it seems that 'xfce_indicator_box_list_changed' is a callback function, if 'config' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:151:5: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:161:52: note: Parameter 'config' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:304:46: style: Parameter 'container' can be declared as pointer to const. However it seems that 'xfce_indicator_box_child_type' is a callback function, if 'container' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:107:36: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:304:46: note: Parameter 'container' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:611:56: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:495:9: style: Variable 'width' is assigned a value that is never used. [unreadVariable] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-box.c:496:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indicator_button_box_parent_class [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WIDGET [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:367:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:161:57: style: Parameter 'container' can be declared as pointer to const. However it seems that 'indicator_button_box_child_type' is a callback function, if 'container' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:117:40: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:161:57: note: Parameter 'container' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:206:24: style: Variable 'box' can be declared as pointer to const [constVariablePointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:298:66: style: Parameter 'config' can be declared as pointer to const. However it seems that 'indicator_button_box_configuration_changed' is a callback function, if 'config' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:319:5: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button-box.c:298:66: note: Parameter 'config' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-button.c:328:2: error: failed to evaluate #if condition, undefined function-like macro invocation: LIBXFCE4PANEL_CHECK_VERSION( ... ) [syntaxError] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:160:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:259:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indicator_config_parent_class [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:282:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:337:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:797:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:276:41: style: Parameter 'key' can be declared as pointer to const. However it seems that 'indicator_config_collect_keys' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:328:48: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:276:41: note: Parameter 'key' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:294:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'indicator_config_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:153:33: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:294:44: note: Parameter 'pspec' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:298:24: style: Variable 'li' can be declared as pointer to const [constVariablePointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:358:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'indicator_config_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:154:33: note: You might need to cast the function pointer here xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:358:46: note: Parameter 'pspec' can be declared as pointer to const xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:464:51: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:475:51: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:486:53: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:524:52: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:535:58: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:573:46: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:584:51: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:595:57: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:606:55: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:693:57: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-config.c:707:13: style: Variable 'li' can be declared as pointer to const [constVariablePointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-dialog.c:484:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BINDING_SYNC_CREATE [valueFlowBailoutIncompleteVar] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-dialog.c:119:52: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-dialog.c:166:17: style: Variable 'li' can be declared as pointer to const [constVariablePointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-dialog.c:346:43: style: Parameter 'iter1' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator-dialog.c:347:43: style: Parameter 'iter2' can be declared as pointer to const [constParameterPointer] xfce4-indicator-plugin-2.4.2/panel-plugin/indicator.c:103:1: error: There is an unknown macro here somewhere. Configuration is required. If XFCE_PANEL_DEFINE_PLUGIN is a macro then please configure it. [unknownMacro] diff: DONE