2026-07-26 13:36 ftp://ftp.de.debian.org/debian/pool/main/x/xfce4-screenshooter/xfce4-screenshooter_1.11.3.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 6640862 (2026-07-26 07:32:28 -0400) count: 91 91 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: xfce4-screenshooter-1.11.3/lib/screenshooter-dialogs.c:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: LIBXFCE4UI_CHECK_VERSION( ... ) [syntaxError] xfce4-screenshooter-1.11.3/lib/screenshooter-select.c:34:44: style: Parameter 'region' can be declared as pointer to const [constParameterPointer] xfce4-screenshooter-1.11.3/lib/screenshooter-actions.c:33:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_HELP [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-actions.c:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-format.c:95:73: style:inconclusive: Function 'screenshooter_image_format_match_extension' argument 2 names different: declaration 'filename' definition 'filepath'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-format.h:42:72: note: Function 'screenshooter_image_format_match_extension' argument 2 names different: declaration 'filename' definition 'filepath'. xfce4-screenshooter-1.11.3/lib/screenshooter-format.c:95:73: note: Function 'screenshooter_image_format_match_extension' argument 2 names different: declaration 'filename' definition 'filepath'. xfce4-screenshooter-1.11.3/lib/screenshooter-format.c:95:73: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] xfce4-screenshooter-1.11.3/test/test.c:42:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils-x11.c:51:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils-x11.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/src/main.c:149:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:179:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECT [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:261:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_PREFERENCES [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:313:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULLSCREEN [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:363:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScreenshotData [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-actions.c:217:48: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] xfce4-screenshooter-1.11.3/lib/screenshooter-custom-actions.c:196:45: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:170:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_button_scrolled' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:405:3: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/panel-plugin/screenshooter-plugin.c:170:53: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:72:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TYPE_DIRECTORY [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:107:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:347:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USER_DIRECTORY_PICTURES [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:393:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:503:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_F1 [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:528:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_SECOND [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:610:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:177:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_LEFT_PTR [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:259:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:356:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:147:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:233:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:397:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:485:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_ARGB8888 [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:520:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WL_SHM_FORMAT_ARGB8888 [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:605:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:144:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Control_L [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:163:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:431:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSSHAIR [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-utils.c:499:55: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:132:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Control_L [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:163:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:241:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NONE [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:258:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:326:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_START [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:488:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SEAT_CAPABILITY_ALL [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:532:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_RELEASE_MASK [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:626:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericEvent [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:871:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSSHAIR [valueFlowBailoutIncompleteVar] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:143:48: style:inconclusive: Function 'handle_global' argument 2 names different: declaration 'registry' definition 'wl_registry'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:75:60: note: Function 'handle_global' argument 2 names different: declaration 'registry' definition 'wl_registry'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:143:48: note: Function 'handle_global' argument 2 names different: declaration 'registry' definition 'wl_registry'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:83: style:inconclusive: Function 'handle_frame_buffer' argument 3 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:80:95: note: Function 'handle_frame_buffer' argument 3 names different: declaration 'fmt' definition 'format'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:83: note: Function 'handle_frame_buffer' argument 3 names different: declaration 'fmt' definition 'format'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:100: style:inconclusive: Function 'handle_frame_buffer' argument 4 names different: declaration 'w' definition 'width'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:80:109: note: Function 'handle_frame_buffer' argument 4 names different: declaration 'w' definition 'width'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:100: note: Function 'handle_frame_buffer' argument 4 names different: declaration 'w' definition 'width'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:116: style:inconclusive: Function 'handle_frame_buffer' argument 5 names different: declaration 'h' definition 'height'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:80:121: note: Function 'handle_frame_buffer' argument 5 names different: declaration 'h' definition 'height'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:116: note: Function 'handle_frame_buffer' argument 5 names different: declaration 'h' definition 'height'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:133: style:inconclusive: Function 'handle_frame_buffer' argument 6 names different: declaration 'str' definition 'stride'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:80:133: note: Function 'handle_frame_buffer' argument 6 names different: declaration 'str' definition 'stride'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:212:133: note: Function 'handle_frame_buffer' argument 6 names different: declaration 'str' definition 'stride'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:275:130: style:inconclusive: Function 'handle_image_copy_capture_frame_damage' argument 5 names different: declaration 'wdth' definition 'width'. [funcArgNamesDifferent] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:83:142: note: Function 'handle_image_copy_capture_frame_damage' argument 5 names different: declaration 'wdth' definition 'width'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:275:130: note: Function 'handle_image_copy_capture_frame_damage' argument 5 names different: declaration 'wdth' definition 'width'. xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:163:29: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_global_remove' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:172:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:163:29: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:163:55: style: Parameter 'reg' can be declared as pointer to const. However it seems that 'handle_global_remove' is a callback function, if 'reg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:172:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:163:55: note: Parameter 'reg' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:204:27: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_frame_flags' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:255:14: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:204:27: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:204:66: style: Parameter 'frame' can be declared as pointer to const. However it seems that 'handle_frame_flags' is a callback function, if 'frame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:255:14: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:204:66: note: Parameter 'frame' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:275:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_frame_damage' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:313:13: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:275:47: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:275:93: style: Parameter 'frame' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_frame_damage' is a callback function, if 'frame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:313:13: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:275:93: note: Parameter 'frame' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:283:58: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_frame_presentation_time' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:314:24: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:283:58: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:283:104: style: Parameter 'frame' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_frame_presentation_time' is a callback function, if 'frame' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:314:24: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:283:104: note: Parameter 'frame' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:352:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_dmabuf_device' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:436:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:352:56: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:352:104: style: Parameter 'session' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_dmabuf_device' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:436:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:352:104: note: Parameter 'session' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:352:130: style: Parameter 'dev_id_array' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_dmabuf_device' is a callback function, if 'dev_id_array' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:436:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:352:130: note: Parameter 'dev_id_array' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:360:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_dmabuf_format' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:437:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:360:56: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:360:104: style: Parameter 'session' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_dmabuf_format' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:437:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:360:104: note: Parameter 'session' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:360:147: style: Parameter 'modifiers' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_dmabuf_format' is a callback function, if 'modifiers' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:437:20: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:360:147: note: Parameter 'modifiers' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:426:50: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_stopped' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:439:14: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:426:50: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:426:98: style: Parameter 'session' can be declared as pointer to const. However it seems that 'handle_image_copy_capture_session_stopped' is a callback function, if 'session' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:439:14: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:426:98: note: Parameter 'session' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:527:24: style: Variable 'px' can be declared as pointer to const [constVariablePointer] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:546:24: style: Variable 'px' can be declared as pointer to const [constVariablePointer] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:567:23: style: Variable 'px' can be declared as pointer to const [constVariablePointer] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:711:19: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-wayland.c:713:23: style: Variable 'output' can be declared as pointer to const [constVariablePointer] xfce4-screenshooter-1.11.3/src/main.c:121:49: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_finalize' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/src/main.c:241:27: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/src/main.c:121:49: note: Parameter 'data' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:252:29: style: Same expression on both sides of '>'. [duplicateExpression] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:253:29: style: Same expression on both sides of '>'. [duplicateExpression] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:201:40: style: Parameter 'window_extents' can be declared as pointer to const [constParameterPointer] xfce4-screenshooter-1.11.3/lib/screenshooter-capture-x11.c:434:27: style: Variable 'src_pixels' can be declared as pointer to const [constVariablePointer] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:115:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_key_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:482:7: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:115:49: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:139:50: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_key_released' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:483:7: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:139:50: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:254:52: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_button_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:485:7: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:254:52: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:278:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_button_released' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:486:7: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:278:53: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:298:51: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_motion_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:487:7: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-wayland.c:298:51: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:103:49: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_key_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:540:3: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:103:49: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:127:50: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_key_released' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:542:3: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:127:50: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:210:52: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_button_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:546:3: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:210:52: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:232:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_button_released' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:548:3: note: You might need to cast the function pointer here xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:232:53: note: Parameter 'event' can be declared as pointer to const xfce4-screenshooter-1.11.3/lib/screenshooter-select-x11.c:614:18: style: Variable 'device_event' can be declared as pointer to const [constVariablePointer] diff: DONE