2026-05-02 23:01 ftp://ftp.de.debian.org/debian/pool/main/l/light-locker/light-locker_1.8.0.orig.tar.bz2 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 -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: 126 126 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: light-locker-1.8.0/src/gs-content.c:49:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_LINE_JOIN_ROUND [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-content.c:104:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-debug.c:68:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-debug.c:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-debug.c:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-debug.c:66:46: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] light-locker-1.8.0/src/gs-grab-x11.c:153:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:211:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BLANK_CURSOR [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:279:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:320:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:363:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_DEVICE_TYPE_MASTER [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:442:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:492:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:510:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:572:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAB_SUCCESS [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:647:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:673:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:743:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_grab_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-grab-x11.c:712:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] light-locker-1.8.0/src/gs-grab-x11.c:137:40: style: Parameter 'grab' can be declared as pointer to const [constParameterPointer] light-locker-1.8.0/src/gs-listener-dbus.c:1956:43: error: There is an unknown macro here somewhere. Configuration is required. If DBUS_INTERFACE_DBUS is a macro then please configure it. [unknownMacro] light-locker-1.8.0/src/gs-listener-x11.c:91:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-listener-x11.c:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_CONTINUE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-listener-x11.c:303:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_listener_x11_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-listener-x11.c:93:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] light-locker-1.8.0/src/gs-listener-x11.c:98:26: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xroot_filter' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-listener-x11.c:301:56: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-listener-x11.c:98:26: note: Parameter 'event' can be declared as pointer to const light-locker-1.8.0/src/gs-listener-x11.c:99:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'xroot_filter' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-listener-x11.c:301:56: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-listener-x11.c:99:25: note: Parameter 'data' can be declared as pointer to const light-locker-1.8.0/src/gs-listener-x11.c:104:17: style: Variable 'ev' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-listener-x11.c:235:41: style: Parameter 'listener' can be declared as pointer to const [constParameterPointer] light-locker-1.8.0/src/gs-listener-x11.c:255:43: style: Parameter 'listener' can be declared as pointer to const [constParameterPointer] light-locker-1.8.0/src/gs-listener-x11.c:292:24: style: Variable 'listener' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-manager.c:161:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READABLE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:204:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:220:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:233:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:308:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONNECT_AFTER [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:323:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:349:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:430:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:441:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:456:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:468:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:479:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:499:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:529:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_manager_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:548:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:612:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:645:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-manager.c:163:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] light-locker-1.8.0/src/gs-manager.c:692:44: style:inconclusive: Function 'gs_manager_set_session_visible' argument 2 names different: declaration 'active' definition 'visible'. [funcArgNamesDifferent] light-locker-1.8.0/src/gs-manager.h:62:58: note: Function 'gs_manager_set_session_visible' argument 2 names different: declaration 'active' definition 'visible'. light-locker-1.8.0/src/gs-manager.c:692:44: note: Function 'gs_manager_set_session_visible' argument 2 names different: declaration 'active' definition 'visible'. light-locker-1.8.0/src/gs-manager.c:714:41: style:inconclusive: Function 'gs_manager_set_blank_screen' argument 2 names different: declaration 'active' definition 'blank'. [funcArgNamesDifferent] light-locker-1.8.0/src/gs-manager.h:67:58: note: Function 'gs_manager_set_blank_screen' argument 2 names different: declaration 'active' definition 'blank'. light-locker-1.8.0/src/gs-manager.c:714:41: note: Function 'gs_manager_set_blank_screen' argument 2 names different: declaration 'active' definition 'blank'. light-locker-1.8.0/src/gs-manager.c:81:46: style: Parameter 'object' can be declared as pointer to const. However it seems that 'gs_manager_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-manager.c:120:38: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-manager.c:81:46: note: Parameter 'object' can be declared as pointer to const light-locker-1.8.0/src/gs-manager.c:84:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gs_manager_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-manager.c:120:38: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-manager.c:84:46: note: Parameter 'pspec' can be declared as pointer to const light-locker-1.8.0/src/gs-manager.c:97:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gs_manager_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-manager.c:119:38: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-manager.c:97:46: note: Parameter 'pspec' can be declared as pointer to const light-locker-1.8.0/src/gs-manager.c:99:20: style: Variable 'self' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-manager.c:217:44: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_grab_broken_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-manager.c:310:34: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-manager.c:217:44: note: Parameter 'event' can be declared as pointer to const light-locker-1.8.0/src/gs-manager.c:246:29: style: Parameter 'manager' can be declared as pointer to const. However it seems that 'content_draw_cb' is a callback function, if 'manager' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-manager.c:299:34: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-manager.c:246:29: note: Parameter 'manager' can be declared as pointer to const light-locker-1.8.0/src/gs-manager.c:366:36: style: Variable 'this_screen' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-manager.c:384:14: style: Variable 'this_screen' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-marshal.c:66:19: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] light-locker-1.8.0/src/gs-marshal.c:104:19: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] light-locker-1.8.0/src/gs-marshal.c:143:19: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] light-locker-1.8.0/src/gs-marshal.c:184:19: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] light-locker-1.8.0/src/gs-marshal.c:220:19: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] light-locker-1.8.0/src/gs-marshal.c:66:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-marshal.c:104:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-marshal.c:143:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-marshal.c:184:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-marshal.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-monitor.c:85:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-monitor.c:298:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-monitor.c:316:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-monitor.c:454:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-monitor.c:581:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_monitor_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-monitor.c:71:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] light-locker-1.8.0/src/gs-monitor.c:161:39: style: Parameter 'conf' can be declared as pointer to const. However it seems that 'conf_lock_on_suspend_cb' is a callback function, if 'conf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-monitor.c:252:9: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-monitor.c:161:39: note: Parameter 'conf' can be declared as pointer to const light-locker-1.8.0/src/gs-monitor.c:181:36: style: Parameter 'conf' can be declared as pointer to const. However it seems that 'conf_late_locking_cb' is a callback function, if 'conf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-monitor.c:254:9: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-monitor.c:181:36: note: Parameter 'conf' can be declared as pointer to const light-locker-1.8.0/src/gs-monitor.c:195:46: style: Parameter 'conf' can be declared as pointer to const. However it seems that 'conf_lock_after_screensaver_cb' is a callback function, if 'conf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-monitor.c:256:9: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-monitor.c:195:46: note: Parameter 'conf' can be declared as pointer to const light-locker-1.8.0/src/gs-monitor.c:209:35: style: Parameter 'conf' can be declared as pointer to const. However it seems that 'conf_lock_on_lid_cb' is a callback function, if 'conf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-monitor.c:258:9: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-monitor.c:209:35: note: Parameter 'conf' can be declared as pointer to const light-locker-1.8.0/src/gs-monitor.c:223:33: style: Parameter 'conf' can be declared as pointer to const. However it seems that 'conf_idle_hint_cb' is a callback function, if 'conf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-monitor.c:260:9: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-monitor.c:223:33: note: Parameter 'conf' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:90:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BLANK_CURSOR [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:112:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_PROPERTY_CHANGE_MASK [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:192:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:222:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:238:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:269:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_window_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:277:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_window_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:298:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:328:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:369:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:401:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_CONTINUE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:415:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubstructureNotifyMask [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:430:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_window_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:466:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_window_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:587:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_window_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:665:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:779:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READABLE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:833:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_POINTER_MOTION_MASK [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:871:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs_window_parent_class [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:881:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/gs-window-x11.c:771:9: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] light-locker-1.8.0/src/gs-window-x11.c:338:20: style: Variable 'gwindow' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-window-x11.c:544:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gs_window_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:752:38: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:544:45: note: Parameter 'pspec' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:564:37: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gs_window_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:751:38: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:564:37: note: Parameter 'pspec' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:566:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/gs-window-x11.c:595:53: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'gs_window_real_motion_notify_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:759:45: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:595:53: note: Parameter 'widget' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:596:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gs_window_real_motion_notify_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:759:45: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:596:53: note: Parameter 'event' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:602:52: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'gs_window_real_button_press_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:760:45: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:602:52: note: Parameter 'widget' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:603:52: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gs_window_real_button_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:760:45: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:603:52: note: Parameter 'event' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:609:46: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'gs_window_real_scroll_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:761:45: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:609:46: note: Parameter 'widget' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:610:46: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gs_window_real_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:761:45: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:610:46: note: Parameter 'event' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:700:61: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gs_window_real_visibility_notify_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/gs-window-x11.c:769:49: note: You might need to cast the function pointer here light-locker-1.8.0/src/gs-window-x11.c:700:61: note: Parameter 'event' can be declared as pointer to const light-locker-1.8.0/src/gs-window-x11.c:875:27: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] light-locker-1.8.0/src/light-locker-command.c:106:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_SEND_MESSAGE_FLAGS_NONE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/light-locker-command.c:192:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_SEND_MESSAGE_FLAGS_NONE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/light-locker-command.c:235:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_SEND_MESSAGE_FLAGS_NONE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/light-locker-command.c:289:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_EXIT_ERROR [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/light-locker-command.c:468:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/light-locker-command.c:518:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/light-locker.c:149:1: error: failed to expand 'gs_debug', it is invalid to use a preprocessor directive as macro parameter [syntaxError] light-locker-1.8.0/src/ll-config.c:168:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] light-locker-1.8.0/src/ll-config.c:67:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'll_config_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/ll-config.c:155:34: note: You might need to cast the function pointer here light-locker-1.8.0/src/ll-config.c:67:51: note: Parameter 'pspec' can be declared as pointer to const light-locker-1.8.0/src/ll-config.c:111:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'll_config_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] light-locker-1.8.0/src/ll-config.c:154:34: note: You might need to cast the function pointer here light-locker-1.8.0/src/ll-config.c:111:49: note: Parameter 'pspec' can be declared as pointer to const light-locker-1.8.0/src/ll-config.c:113:16: style: Variable 'conf' can be declared as pointer to const [constVariablePointer] light-locker-1.8.0/src/ll-config.c:44:16: style: struct member '_LLConfig::settings' is never used. [unusedStructMember] light-locker-1.8.0/src/preview.c:82:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] diff: DONE