2026-05-05 22:01 ftp://ftp.de.debian.org/debian/pool/main/x/xfce4-windowck-plugin/xfce4-windowck-plugin_0.5.1.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: 47 44 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: xfce4-windowck-plugin-0.5.1/common/ui_style.c:143:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/common/ui_style.c:67:26: style:inconclusive: Function 'get_ui_color' argument 1 names different: declaration '' definition 'win'. [funcArgNamesDifferentUnnamed] xfce4-windowck-plugin-0.5.1/common/ui_style.c:67:45: style:inconclusive: Function 'get_ui_color' argument 2 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] xfce4-windowck-plugin-0.5.1/common/ui_style.c:136:20: style: Variable 'data' can be declared as pointer to const [constVariablePointer] xfce4-windowck-plugin-0.5.1/common/wck-plugin.c:95:2: error: failed to evaluate #if condition, undefined function-like macro invocation: LIBXFCE4UI_CHECK_VERSION( ... ) [syntaxError] xfce4-windowck-plugin-0.5.1/common/wck-utils.c:285:2: error: failed to evaluate #if condition, undefined function-like macro invocation: WNCK_CHECK_VERSION( ... ) [syntaxError] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/theme.c:37:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/theme.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/theme.c:56:55: style:inconclusive: Function 'get_unity_theme_dir' argument 2 names different: declaration 'default_path' definition 'default_theme'. [funcArgNamesDifferent] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/theme.h:33:62: note: Function 'get_unity_theme_dir' argument 2 names different: declaration 'default_path' definition 'default_theme'. xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/theme.c:56:55: note: Function 'get_unity_theme_dir' argument 2 names different: declaration 'default_path' definition 'default_theme'. xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons-dialogs.c:154:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons-dialogs.c:141:67: style: Parameter 'wb' can be declared as pointer to const [constParameterPointer] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons-theme.c:49:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons-theme.c:97:43: style:inconclusive: Function 'button_layout_filter' argument 1 names different: declaration 'button_layout' definition 'string'. [funcArgNamesDifferent] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons-theme.h:39:44: note: Function 'button_layout_filter' argument 1 names different: declaration 'button_layout' definition 'string'. xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons-theme.c:97:43: note: Function 'button_layout_filter' argument 1 names different: declaration 'button_layout' definition 'string'. xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:78:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_ONLY_MAXIMIZED [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:116:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ENTER_NOTIFY_MASK [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:126:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_PANEL_PLUGIN_MODE_DESKBAR [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:191:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WckUtils [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFCE_PANEL_PLUGIN_MODE_DESKBAR [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:409:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:488:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wck_about [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:283:36: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:318:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_minimize_button_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:504:5: note: You might need to cast the function pointer here xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:318:48: note: Parameter 'event' can be declared as pointer to const xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:358:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_maximize_button_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:505:5: note: You might need to cast the function pointer here xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:358:48: note: Parameter 'event' can be declared as pointer to const xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:404:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'on_close_button_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:506:5: note: You might need to cast the function pointer here xfce4-windowck-plugin-0.5.1/panel-plugin/buttons/wckbuttons.c:404:48: note: Parameter 'event' can be declared as pointer to const xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu-icon.c:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_DEFAULT_ICON_SIZE [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu-icon.c:114:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu-icon.c:181:60: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu.c:69:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_ONLY_MAXIMIZED [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu.c:100:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu.c:151:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu.c:192:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WckUtils [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/menu/wckmenu.c:268:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wck_about [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:100:17: style: Condition 'id==2' is always true [knownConditionTrueFalse] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:96:17: note: Assuming that condition 'id==1' is not redundant xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:86:22: note: Assuming that condition 'id>2' is not redundant xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:100:17: note: Condition 'id==2' is always true xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:208:17: style: Condition 'id==2' is always true [knownConditionTrueFalse] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:204:17: note: Assuming that condition 'id==1' is not redundant xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:194:22: note: Assuming that condition 'id>2' is not redundant xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-dialogs.c:208:17: note: Condition 'id==2' is always true xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:251:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:283:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:373:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:91:42: style:inconclusive: Function 'on_name_changed' argument 1 names different: declaration 'window' definition 'controlwindow'. [funcArgNamesDifferent] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:31:41: note: Function 'on_name_changed' argument 1 names different: declaration 'window' definition 'controlwindow'. xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:91:42: note: Function 'on_name_changed' argument 1 names different: declaration 'window' definition 'controlwindow'. xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:91:73: style:inconclusive: Function 'on_name_changed' argument 2 names different: declaration '' definition 'wckp'. [funcArgNamesDifferentUnnamed] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:47:12: style: Variable 'windows' can be declared as pointer to const [constVariablePointer] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:49:12: style: Variable 'bottom_window' can be declared as pointer to const [constVariablePointer] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:241:61: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:275:62: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck.c:92:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_ONLY_MAXIMIZED [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck.c:155:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck.c:190:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WckUtils [valueFlowBailoutIncompleteVar] xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck.c:280:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wck_about [valueFlowBailoutIncompleteVar] diff: head xfce4-windowck-plugin-0.5.1/common/ui_style.c:67:26: style:inconclusive: Function 'get_ui_color' argument 1 names different: declaration '' definition 'win'. [funcArgNamesDifferentUnnamed] head xfce4-windowck-plugin-0.5.1/common/ui_style.c:67:45: style:inconclusive: Function 'get_ui_color' argument 2 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] head xfce4-windowck-plugin-0.5.1/panel-plugin/title/windowck-title.c:91:73: style:inconclusive: Function 'on_name_changed' argument 2 names different: declaration '' definition 'wckp'. [funcArgNamesDifferentUnnamed] DONE