removed useless local var
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 7 Jun 2016 15:38:47 +0000 (17:38 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 7 Jun 2016 15:38:47 +0000 (17:38 +0200)
src/main.c

index 55209df..09dd18c 100644 (file)
@@ -227,7 +227,7 @@ associate_cb_alarm_raised(struct psensor **sensors, struct ui_psensor *ui)
 {
        bool ret;
        struct psensor *s;
-       double d, high_temp;
+       double high_temp;
 
        high_temp = config_get_default_high_threshold_temperature();