diff options
author | rbuj <[email protected]> | 2020-04-10 18:04:52 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2020-04-13 00:39:15 +0200 |
commit | 2c497331a6888c9e224ffb3d78d6eebb917712e5 (patch) | |
tree | db0857b7c0f65026d85250a520d513620638414b | |
parent | 38d2fbbe9d59a5560852f32c1d7f50af443be470 (diff) | |
download | mate-sensors-applet-2c497331a6888c9e224ffb3d78d6eebb917712e5.tar.bz2 mate-sensors-applet-2c497331a6888c9e224ffb3d78d6eebb917712e5.tar.xz |
Remove unused-variable warning
-rw-r--r-- | plugins/acpi/acpi-plugin.c | 1 | ||||
-rw-r--r-- | plugins/libsensors/libsensors-plugin.c | 1 | ||||
-rw-r--r-- | sensors-applet/sensor-config-dialog.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/plugins/acpi/acpi-plugin.c b/plugins/acpi/acpi-plugin.c index 93ee53e..01a2afb 100644 --- a/plugins/acpi/acpi-plugin.c +++ b/plugins/acpi/acpi-plugin.c @@ -41,7 +41,6 @@ enum { static void acpi_plugin_add_sensor(GList **sensors, const gchar *path) { gchar *dirname; gchar *id; - gchar *label; dirname = g_path_get_dirname(path); diff --git a/plugins/libsensors/libsensors-plugin.c b/plugins/libsensors/libsensors-plugin.c index 2dd18ae..09d0d96 100644 --- a/plugins/libsensors/libsensors-plugin.c +++ b/plugins/libsensors/libsensors-plugin.c @@ -402,7 +402,6 @@ static gdouble libsensors_plugin_get_sensor_value(const gchar *path, if (regexec (&uri_re, path, 3, m, 0) == 0) { const sensors_chip_name *found_chip; int feature; - int i; if ((found_chip = g_hash_table_lookup(hash_table, path)) != NULL) { gdouble value; diff --git a/sensors-applet/sensor-config-dialog.c b/sensors-applet/sensor-config-dialog.c index 3d3150b..8a49f57 100644 --- a/sensors-applet/sensor-config-dialog.c +++ b/sensors-applet/sensor-config-dialog.c @@ -317,7 +317,6 @@ static void sensor_config_dialog_graph_color_set(GtkColorChooser *color_chooser, GtkTreeModel *model; GtkTreePath *path; GtkTreeIter iter; - GtkWidget *content_area; gchar *color_string; GdkRGBA color; |