From 2c497331a6888c9e224ffb3d78d6eebb917712e5 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 10 Apr 2020 18:04:52 +0200 Subject: Remove unused-variable warning --- plugins/acpi/acpi-plugin.c | 1 - plugins/libsensors/libsensors-plugin.c | 1 - 2 files changed, 2 deletions(-) (limited to 'plugins') 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; -- cgit v1.2.1