summaryrefslogtreecommitdiff
path: root/plugins/libsensors/libsensors-plugin.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-10 18:04:52 +0200
committerZenWalker <[email protected]>2020-04-13 00:39:15 +0200
commit2c497331a6888c9e224ffb3d78d6eebb917712e5 (patch)
treedb0857b7c0f65026d85250a520d513620638414b /plugins/libsensors/libsensors-plugin.c
parent38d2fbbe9d59a5560852f32c1d7f50af443be470 (diff)
downloadmate-sensors-applet-2c497331a6888c9e224ffb3d78d6eebb917712e5.tar.bz2
mate-sensors-applet-2c497331a6888c9e224ffb3d78d6eebb917712e5.tar.xz
Remove unused-variable warning
Diffstat (limited to 'plugins/libsensors/libsensors-plugin.c')
-rw-r--r--plugins/libsensors/libsensors-plugin.c1
1 files changed, 0 insertions, 1 deletions
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;