2026-05-09 21:36 ftp://ftp.de.debian.org/debian/pool/main/m/mate-sensors-applet/mate-sensors-applet_1.26.0.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.20.0 head-info: 2d6f23e (2026-05-09 13:05:01 +0200) count: 80 79 elapsed-time: 0.9 0.9 head-timing-info: old-timing-info: head results: mate-sensors-applet-1.26.0/lib/sensors-applet-plugin.c:36:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/acpi/acpi-plugin.c:55:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMP_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/dummy/dummy-plugin.c:51:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMP_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/lib/sensors-applet-plugin.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SensorsAppletSensorInfo [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i2c-sys/i2c-sys-plugin.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i2c-sys/i2c-sys-plugin.c:172:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAN_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i8k/i8k-plugin.c:43:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/hddtemp/hddtemp-plugin.c:80:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_MINUTE [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/hddtemp/hddtemp-plugin.c:161:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMP_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i2c-proc/i2c-proc-plugin.c:50:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i2c-proc/i2c-proc-plugin.c:148:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/omnibook/omnibook-plugin.c:43:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i8k/i8k-plugin.c:137:21: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] mate-sensors-applet-1.26.0/plugins/i8k/i8k-plugin.c:144:13: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] mate-sensors-applet-1.26.0/plugins/ibm-acpi/ibm-acpi-plugin.c:54:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/nvidia/nvidia-plugin.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_CTRL_TARGET_TYPE_THERMAL_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/nvidia/nvidia-plugin.c:120:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_CTRL_TARGET_TYPE_THERMAL_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/sonypi/sonypi-plugin.c:60:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/sonypi/sonypi-plugin.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/netbsd/netbsd-plugin.c:46:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENVSYS_GETDICTIONARY [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/netbsd/netbsd-plugin.c:96:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/netbsd/netbsd-plugin.c:118:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/mbmon/mbmon-plugin.c:77:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_SECOND [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/mbmon/mbmon-plugin.c:113:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURRENT_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/pmu-sys/pmu-sys-plugin.c:56:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/mbmon/mbmon-plugin.c:128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPU_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/mbmon/mbmon-plugin.c:165:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMP_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/smu-sys/smu-sys-plugin.c:54:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/about-dialog.c:39:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/i2c-proc/i2c-proc-plugin.c:145:12: style: Variable 'old_locale' can be declared as pointer to const [constVariablePointer] mate-sensors-applet-1.26.0/plugins/ibm-acpi/ibm-acpi-plugin.c:197:13: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:96:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURRENT_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:140:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORS_MODE_R [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:159:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPU_ICON [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:181:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORS_MODE_R [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:238:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:443:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/udisks2/udisks2-plugin.c:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/udisks2/udisks2-plugin.c:357:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEMP_SENSOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/udisks2/udisks2-plugin.c:423:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORS_APPLET_PLUGIN_ERROR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/active-sensor-libnotify.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/active-sensor-libnotify.c:30:49: style: Parameter 'notification' can be declared as pointer to const. However it seems that 'notif_closed_cb' is a callback function, if 'notification' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-sensors-applet-1.26.0/sensors-applet/active-sensor-libnotify.c:88:5: note: You might need to cast the function pointer here mate-sensors-applet-1.26.0/sensors-applet/active-sensor-libnotify.c:30:49: note: Parameter 'notification' can be declared as pointer to const mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-plugins.c:35:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-plugins.c:136:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORS_APPLET_PLUGIN_DIR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/smu-sys/smu-sys-plugin.c:160:13: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] mate-sensors-applet-1.26.0/plugins/pmu-sys/pmu-sys-plugin.c:167:13: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:51:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_MD5 [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:176:30: style: Variable 'sensor_info' can be declared as pointer to const [constVariablePointer] mate-sensors-applet-1.26.0/plugins/libsensors/libsensors-plugin.c:176:30: style: Variable 'sensor_info' is assigned a value that is never used. [unreadVariable] mate-sensors-applet-1.26.0/sensors-applet/sensor-config-dialog.c:390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/prefs-dialog.c:421:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_HELP [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:248:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:444:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensor-config-dialog.c:77:25: style: Variable 'config_dialog' can be declared as pointer to const [constVariablePointer] mate-sensors-applet-1.26.0/sensors-applet/sensor-config-dialog.c:243:65: style: Parameter 'command_entry' can be declared as pointer to const [constParameterPointer] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:148:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATE_PANEL_APPLET_ORIENT_LEFT [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:476:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_LABEL [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:802:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_USE_BUILTIN [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:1042:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:1169:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATE_PANEL_APPLET_ORIENT_UP [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:1252:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATE_PANEL_APPLET_EXPAND_MINOR [valueFlowBailoutIncompleteVar] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:261:32: style: Redundant initialization for 'not_end_of_interfaces'. The initialized value is overwritten before it is read. [redundantInitialization] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:243:36: note: not_end_of_interfaces is initialized mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:261:32: note: not_end_of_interfaces is overwritten mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:574:32: style: Redundant initialization for 'not_end_of_interfaces'. The initialized value is overwritten before it is read. [redundantInitialization] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:546:36: note: not_end_of_interfaces is initialized mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:574:32: note: not_end_of_interfaces is overwritten mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:244:33: style: Variable 'not_end_of_sensors' is assigned a value that is never used. [unreadVariable] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet-settings.c:547:33: style: Variable 'not_end_of_sensors' is assigned a value that is never used. [unreadVariable] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:893:25: style: Variable 'not_empty_tree' is reassigned a value before the old one has been used. [redundantAssignment] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:862:20: note: not_empty_tree is assigned mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:893:25: note: not_empty_tree is overwritten mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:820:13: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:139:45: style: Parameter 'allocation' can be declared as pointer to const. However it seems that 'size_allocate_cb' is a callback function, if 'allocation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:1309:5: note: You might need to cast the function pointer here mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:139:45: note: Parameter 'allocation' can be declared as pointer to const mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:252:56: style: Parameter 'active_sensor' can be declared as pointer to const [constParameterPointer] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:402:46: style: Parameter 'active_sensor' can be declared as pointer to const [constParameterPointer] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:415:51: style: Parameter 'sensors_applet' can be declared as pointer to const [constParameterPointer] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:169:63: style: Variable 'not_end_of_sensors' is assigned a value that is never used. [unreadVariable] mate-sensors-applet-1.26.0/sensors-applet/sensors-applet.c:852:33: style: Variable 'not_end_of_sensors' is assigned a value that is never used. [unreadVariable] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:372:19: style: Same expression on both sides of '>'. [duplicateExpression] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:373:20: style: Same expression on both sides of '>'. [duplicateExpression] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:403:43: style:inconclusive: Function 'active_sensor_update_graph_dimensions' argument 2 names different: declaration 'dimensions' definition 'sizes'. [funcArgNamesDifferent] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.h:73:67: note: Function 'active_sensor_update_graph_dimensions' argument 2 names different: declaration 'dimensions' definition 'sizes'. mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:403:43: note: Function 'active_sensor_update_graph_dimensions' argument 2 names different: declaration 'dimensions' definition 'sizes'. mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:483:41: style:inconclusive: Function 'active_sensor_update' argument 1 names different: declaration 'sensor' definition 'active_sensor'. [funcArgNamesDifferent] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.h:71:41: note: Function 'active_sensor_update' argument 1 names different: declaration 'sensor' definition 'active_sensor'. mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:483:41: note: Function 'active_sensor_update' argument 1 names different: declaration 'sensor' definition 'active_sensor'. mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:778:47: style:inconclusive: Function 'active_sensor_icon_changed' argument 1 names different: declaration 'sensor' definition 'active_sensor'. [funcArgNamesDifferent] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.h:72:47: note: Function 'active_sensor_icon_changed' argument 1 names different: declaration 'sensor' definition 'active_sensor'. mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:778:47: note: Function 'active_sensor_icon_changed' argument 1 names different: declaration 'sensor' definition 'active_sensor'. mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:403:43: style: Parameter 'sizes' can be declared as const array [constParameter] mate-sensors-applet-1.26.0/sensors-applet/active-sensor.c:731:29: style: Variable 'label_width' is assigned a value that is never used. [unreadVariable] diff: head mate-sensors-applet-1.26.0/sensors-applet/sensor-config-dialog.c:243:65: style: Parameter 'command_entry' can be declared as pointer to const [constParameterPointer] DONE