2025-11-27 05:02 ftp://ftp.de.debian.org/debian/pool/main/i/indicator-sensors/indicator-sensors_1.4.orig.tar.gz 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-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 147 143 elapsed-time: 1.2 1.1 head-timing-info: old-timing-info: head results: indicator-sensors-1.4/indicator-sensors/is-notify.h:37:21: error: There is an unknown macro here somewhere. Configuration is required. If is_notify is a macro then please configure it. [unknownMacro] indicator-sensors-1.4/indicator-sensors/is-application.c:110:41: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] indicator-sensors-1.4/indicator-sensors/is-fan-sensor.c:40:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-fan-sensor.c:24:44: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/indicator-sensors/is-fan-sensor.c:30:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/indicator-sensors/is-indicator.c:227:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-indicator.c:276:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-indicator.c:420:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_indicator_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-indicator.c:431:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_indicator_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-indicator.c:507:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-indicator.c:727:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-indicator.c:262:3: 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] indicator-sensors-1.4/indicator-sensors/is-indicator.c:806:61: style:inconclusive: Function 'is_indicator_set_display_flags' argument 2 names different: declaration 'flags' definition 'display_flags'. [funcArgNamesDifferent] indicator-sensors-1.4/indicator-sensors/is-indicator.h:94:61: note: Function 'is_indicator_set_display_flags' argument 2 names different: declaration 'flags' definition 'display_flags'. indicator-sensors-1.4/indicator-sensors/is-indicator.c:806:61: note: Function 'is_indicator_set_display_flags' argument 2 names different: declaration 'flags' definition 'display_flags'. indicator-sensors-1.4/indicator-sensors/is-indicator.c:309:73: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_indicator_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-indicator.c:264:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-indicator.c:309:73: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-indicator.c:332:79: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_indicator_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-indicator.c:265:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-indicator.c:332:79: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-indicator.c:719:33: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/indicator-sensors/is-log.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-manager.c:86:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-manager.c:393:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_manager_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-manager.c:405:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_manager_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-manager.c:75:3: 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] indicator-sensors-1.4/indicator-sensors/is-manager.c:610:3: error: Memory leak: path [memleak] indicator-sensors-1.4/indicator-sensors/is-manager.c:141:40: style: Parameter 'new_label' can be declared as pointer to const. However it seems that 'sensor_label_edited' is a callback function, if 'new_label' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-manager.c:333:3: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-manager.c:141:40: note: Parameter 'new_label' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-manager.c:352:71: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_manager_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-manager.c:77:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-manager.c:352:71: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-manager.c:369:77: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_manager_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-manager.c:78:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-manager.c:369:77: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-manager.c:593:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:74:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:132:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:519:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_preferences_dialog_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:530:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_preferences_dialog_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:63:3: 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] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:231:82: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_preferences_dialog_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:65:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:231:82: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:416:88: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_preferences_dialog_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:66:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:416:88: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-preferences-dialog.c:533:53: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:73:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:93:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:408:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_sensor_dialog_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:419:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_sensor_dialog_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:62:3: 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] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:192:77: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_sensor_dialog_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:64:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:192:77: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:307:83: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_sensor_dialog_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:65:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:307:83: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-sensor-dialog.c:422:43: style: Parameter 'sensor' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/indicator-sensors/is-store.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_store_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-store.c:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_store_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-store.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_MODEL_ITERS_PERSIST [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-store.c:201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-store.c:112:3: 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] indicator-sensors-1.4/indicator-sensors/is-store.c:199:45: style:inconclusive: Function '_is_store_get_column_type' argument 2 names different: declaration 'index' definition 'col'. [funcArgNamesDifferent] indicator-sensors-1.4/indicator-sensors/is-store.c:30:45: note: Function '_is_store_get_column_type' argument 2 names different: declaration 'index' definition 'col'. indicator-sensors-1.4/indicator-sensors/is-store.c:199:45: note: Function '_is_store_get_column_type' argument 2 names different: declaration 'index' definition 'col'. indicator-sensors-1.4/indicator-sensors/is-store.c:174:60: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that '_is_store_get_flags' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-store.c:160:22: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-store.c:174:60: note: Parameter 'tree_model' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-store.c:181:51: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that '_is_store_get_n_columns' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-store.c:161:26: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-store.c:181:51: note: Parameter 'tree_model' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-store.c:198:54: style: Parameter 'tree_model' can be declared as pointer to const. However it seems that '_is_store_get_column_type' is a callback function, if 'tree_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-store.c:162:28: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-store.c:198:54: note: Parameter 'tree_model' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-store.c:256:9: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:276:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:311:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:368:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:436:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:539:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:540:17: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:646:12: style: Variable 'name' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:713:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:763:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:797:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:829:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:850:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-store.c:851:17: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:62:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_temperature_sensor_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:155:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:50:3: 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] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:163:54: style:inconclusive: Function 'is_temperature_sensor_get_scale' argument 1 names different: declaration 'sensor' definition 'self'. [funcArgNamesDifferent] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.h:74:79: note: Function 'is_temperature_sensor_get_scale' argument 1 names different: declaration 'sensor' definition 'self'. indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:163:54: note: Function 'is_temperature_sensor_get_scale' argument 1 names different: declaration 'sensor' definition 'self'. indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:183:59: style:inconclusive: Function 'is_temperature_sensor_set_scale' argument 1 names different: declaration 'sensor' definition 'self'. [funcArgNamesDifferent] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.h:72:59: note: Function 'is_temperature_sensor_set_scale' argument 1 names different: declaration 'sensor' definition 'self'. indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:183:59: note: Function 'is_temperature_sensor_set_scale' argument 1 names different: declaration 'sensor' definition 'self'. indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:237:62: style:inconclusive: Function 'is_temperature_sensor_set_celsius_value' argument 1 names different: declaration 'sensor' definition 'self'. [funcArgNamesDifferent] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.h:75:67: note: Function 'is_temperature_sensor_set_celsius_value' argument 1 names different: declaration 'sensor' definition 'self'. indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:237:62: note: Function 'is_temperature_sensor_set_celsius_value' argument 1 names different: declaration 'sensor' definition 'self'. indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:107:82: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_temperature_sensor_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:53:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:107:82: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:124:88: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_temperature_sensor_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:54:33: note: You might need to cast the function pointer here indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:124:88: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/indicator-sensors/is-temperature-sensor.c:240:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_aticonfig_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:296:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:441:3: 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] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:62:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_aticonfig_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:444:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:62:46: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:82:46: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_aticonfig_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:443:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:82:46: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:458:60: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/aticonfig/is-aticonfig-plugin.c:355:11: style: Variable 'pci' is allocated memory that is never used. [unusedAllocatedMemory] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_dbus_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:578:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:611:3: 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] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:59:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_dbus_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:614:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:59:41: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:79:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_dbus_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:613:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:79:41: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:556:35: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:583:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:556:35: note: Parameter 'connection' can be declared as pointer to const indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:558:35: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:583:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:558:35: note: Parameter 'user_data' can be declared as pointer to const indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:564:31: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:584:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:564:31: note: Parameter 'connection' can be declared as pointer to const indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:566:31: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:584:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:566:31: note: Parameter 'user_data' can be declared as pointer to const indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:632:50: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:126:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_dynamic_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:162:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_SENSOR_VALUE_UNSET [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:273:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STOCK_CHIP [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:309:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STOCK_CHIP [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:369:3: 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] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:72:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_dynamic_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:372:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:72:44: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:92:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_dynamic_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:371:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:92:44: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/dynamic/is-dynamic-plugin.c:386:56: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_fake_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:155:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STOCK_CPU [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:189:3: 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] indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:57:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_fake_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:192:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:57:41: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:77:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_fake_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:191:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:77:41: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/fake/is-fake-plugin.c:206:50: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:160:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_libsensors_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:206:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORS_ERR_IO [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:265:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORS_SUBFEATURE_IN_INPUT [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:433:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NOTIFY_LEVEL_INFO [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:457:3: 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] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:62:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_libsensors_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:460:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:62:47: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:82:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_libsensors_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:459:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:82:47: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:186:10: style: Variable 'offset' can be declared as pointer to const [constVariablePointer] indicator-sensors-1.4/plugins/libsensors/is-libsensors-plugin.c:474:62: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/max/is-max-plugin.c:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_max_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/max/is-max-plugin.c:147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_SENSOR_VALUE_UNSET [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/max/is-max-plugin.c:217:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STOCK_CHIP [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/max/is-max-plugin.c:254:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STOCK_CHIP [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/max/is-max-plugin.c:314:3: 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] indicator-sensors-1.4/plugins/max/is-max-plugin.c:60:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_max_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/max/is-max-plugin.c:317:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/max/is-max-plugin.c:60:40: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/max/is-max-plugin.c:80:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_max_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/max/is-max-plugin.c:316:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/max/is-max-plugin.c:80:40: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/max/is-max-plugin.c:331:48: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_nvidia_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:260:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_CTRL_TARGET_TYPE_GPU [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:419:3: 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] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:305:9: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:304:22: note: Assuming allocation function fails indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:304:22: note: Assignment 'data=malloc(sizeof(int32_t)*(k+1))', assigned value is 0 indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:305:9: note: Null pointer dereference indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:308:11: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:304:22: note: Assuming allocation function fails indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:304:22: note: Assignment 'data=malloc(sizeof(int32_t)*(k+1))', assigned value is 0 indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:308:11: note: Null pointer dereference indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:64:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_nvidia_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:422:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:64:43: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:84:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_nvidia_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:421:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:84:43: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/nvidia/is-nvidia-plugin.c:436:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_udisks_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:168:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:251:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:389:3: 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] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:311:22: warning: Either the condition '!sensor_proxy' is redundant or there is possible null pointer dereference: sensor_proxy. [nullPointerRedundantCheck] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:306:9: note: Assuming that condition '!sensor_proxy' is not redundant indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:311:22: note: Null pointer dereference indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:311:22: error: Null pointer dereference [nullPointer] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:64:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_udisks_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:392:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:64:43: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:84:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_udisks_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:391:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:84:43: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/udisks/is-udisks-plugin.c:406:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_udisks2_plugin_parent_class [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:144:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:299:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_STOCK_DISK [valueFlowBailoutIncompleteVar] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:389:3: 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] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:60:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_udisks2_plugin_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:392:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:60:44: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:80:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'is_udisks2_plugin_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:391:33: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:80:44: note: Parameter 'pspec' can be declared as pointer to const indicator-sensors-1.4/plugins/udisks2/is-udisks2-plugin.c:406:56: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] diff: head indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:556:35: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:583:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:556:35: note: Parameter 'connection' can be declared as pointer to const head indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:558:35: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_acquired' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:583:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:558:35: note: Parameter 'user_data' can be declared as pointer to const head indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:564:31: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:584:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:564:31: note: Parameter 'connection' can be declared as pointer to const head indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:566:31: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_name_lost' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:584:29: note: You might need to cast the function pointer here indicator-sensors-1.4/plugins/dbus/is-dbus-plugin.c:566:31: note: Parameter 'user_data' can be declared as pointer to const DONE