LineIdCWESeverityMessageTimestamp
checkersReportinformationActive checkers: 110/966 (use --checkers-report=<filename> to see details)Wed Aug 13 10:40:40 2025
lib/sensors-applet-plugin.c
35variableScope398styleThe scope of the variable 'dir' can be reduced.Wed Aug 13 10:40:40 2025
36variableScope398styleThe scope of the variable 'new_file' can be reduced.Wed Aug 13 10:40:40 2025
66variableScope398styleThe scope of the variable 'string' can be reduced.Wed Aug 13 10:40:40 2025
plugins/acpi/acpi-plugin.c
44unusedVariable563styleUnused variable: labelWed Aug 13 10:40:40 2025
plugins/aticonfig/aticonfig-plugin.c
49constParameter398styleParameter 'temps' can be declared as const arrayWed Aug 13 10:40:40 2025
51unusedVariable563styleUnused variable: tempWed Aug 13 10:40:40 2025
52unusedVariable563styleUnused variable: read_countWed Aug 13 10:40:40 2025
plugins/hddtemp/hddtemp-plugin.c
63variableScope398styleThe scope of the variable 'sockfd' can be reduced.Wed Aug 13 10:40:40 2025
64unreadVariable563styleVariable 'n' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
67variableScope398styleThe scope of the variable 'pc' can be reduced.Wed Aug 13 10:40:40 2025
plugins/i2c-proc/i2c-proc-plugin.c
144constVariablePointer398styleVariable 'old_locale' can be declared as pointer to constWed Aug 13 10:40:40 2025
plugins/i8k/i8k-plugin.c
83staticFunctionstyleThe function 'i8k_plugin_get_sensor_value' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
plugins/ibm-acpi/ibm-acpi-plugin.c
53variableScope398styleThe scope of the variable 'label' can be reduced.Wed Aug 13 10:40:40 2025
134staticFunctionstyleThe function 'ibm_acpi_plugin_init' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
142staticFunctionstyleThe function 'ibm_acpi_plugin_get_sensor_value' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
plugins/libsensors/libsensors-plugin.c
175constVariablePointer398styleVariable 'sensor_info' can be declared as pointer to constWed Aug 13 10:40:40 2025
175unreadVariable563styleVariable 'sensor_info' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
403unusedVariable563styleUnused variable: iWed Aug 13 10:40:40 2025
plugins/mbmon/mbmon-plugin.c
57variableScope398styleThe scope of the variable 'sockfd' can be reduced.Wed Aug 13 10:40:40 2025
58unreadVariable563styleVariable 'n' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
138variableScope398styleThe scope of the variable 'pv2' can be reduced.Wed Aug 13 10:40:40 2025
plugins/pmu-sys/pmu-sys-plugin.c
122staticFunctionstyleThe function 'pmu_sys_plugin_init' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
133staticFunctionstyleThe function 'pmu_sys_plugin_get_sensor_value' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
plugins/smu-sys/smu-sys-plugin.c
114staticFunctionstyleThe function 'smu_sys_plugin_init' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
126staticFunctionstyleThe function 'smu_sys_plugin_get_sensor_value' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
plugins/sonypi/sonypi-plugin.c
55staticFunctionstyleThe function 'sonypi_plugin_init' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
74staticFunctionstyleThe function 'sonypi_plugin_get_sensor_value' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
sensors-applet/active-sensor-libnotify.c
29constParameterCallback398styleParameter '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).Wed Aug 13 10:40:40 2025
sensors-applet/active-sensor.c
214variableScope398styleThe scope of the variable 'overlay_icon' can be reduced.Wed Aug 13 10:40:40 2025
345staticFunctionstyleThe function 'graph_draw_cb' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
363variableScope398styleThe scope of the variable 'old_values' can be reduced.Wed Aug 13 10:40:40 2025
507variableScope398styleThe scope of the variable 'old_value_text' can be reduced.Wed Aug 13 10:40:40 2025
509variableScope398styleThe scope of the variable 'scale' can be reduced.Wed Aug 13 10:40:40 2025
510variableScope398styleThe scope of the variable 'display_mode' can be reduced.Wed Aug 13 10:40:40 2025
728unreadVariable563styleVariable 'label_width' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
sensors-applet/main.c
31variableScope398styleThe scope of the variable 'sensors_applet' can be reduced.Wed Aug 13 10:40:40 2025
sensors-applet/prefs-dialog.c
53staticFunctionstyleThe function 'prefs_dialog_response' should have static linkage since it is not used outside of its translation unit.Wed Aug 13 10:40:40 2025
296variableScope398styleThe scope of the variable 'path' can be reduced.Wed Aug 13 10:40:40 2025
352variableScope398styleThe scope of the variable 'path' can be reduced.Wed Aug 13 10:40:40 2025
456shadowVariable398styleLocal variable 'content_area' shadows outer variableWed Aug 13 10:40:40 2025
sensors-applet/sensor-config-dialog.c
76constVariablePointer398styleVariable 'config_dialog' can be declared as pointer to constWed Aug 13 10:40:40 2025
286variableScope398styleThe scope of the variable 'path' can be reduced.Wed Aug 13 10:40:40 2025
289variableScope398styleThe scope of the variable 'icon_type' can be reduced.Wed Aug 13 10:40:40 2025
320unusedVariable563styleUnused variable: content_areaWed Aug 13 10:40:40 2025
355variableScope398styleThe scope of the variable 'pixbuf' can be reduced.Wed Aug 13 10:40:40 2025
sensors-applet/sensors-applet-plugins.c
42variableScope398styleThe scope of the variable 'name_fn' can be reduced.Wed Aug 13 10:40:40 2025
44variableScope398styleThe scope of the variable 'get_value_fn' can be reduced.Wed Aug 13 10:40:40 2025
sensors-applet/sensors-applet-settings.c
155unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
243unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
546unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
sensors-applet/sensors-applet.c
138constParameterCallback398styleParameter '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).Wed Aug 13 10:40:40 2025
168variableScope398styleThe scope of the variable 'path' can be reduced.Wed Aug 13 10:40:40 2025
169unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
171variableScope398styleThe scope of the variable 'new_icon' can be reduced.Wed Aug 13 10:40:40 2025
257constParameterPointer398styleParameter 'active_sensor' can be declared as pointer to constWed Aug 13 10:40:40 2025
407constParameterPointer398styleParameter 'active_sensor' can be declared as pointer to constWed Aug 13 10:40:40 2025
420constParameterPointer398styleParameter 'sensors_applet' can be declared as pointer to constWed Aug 13 10:40:40 2025
857unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.Wed Aug 13 10:40:40 2025
862variableScope398styleThe scope of the variable 'tree_path' can be reduced.Wed Aug 13 10:40:40 2025
898redundantAssignment563styleVariable 'not_empty_tree' is reassigned a value before the old one has been used.Wed Aug 13 10:40:40 2025
898redundantAssignment563styleVariable 'not_empty_tree' is reassigned a value before the old one has been used.Wed Aug 13 10:40:40 2025
1044variableScope398styleThe scope of the variable 'sensor_tree_path' can be reduced.Wed Aug 13 10:40:40 2025