code style
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 18 Sep 2014 07:10:42 +0000 (09:10 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 18 Sep 2014 07:10:42 +0000 (09:10 +0200)
src/lib/hdd_hddtemp.c

index 4aac817..86324f7 100644 (file)
@@ -234,7 +234,9 @@ static void update(struct psensor **sensors, struct hdd_info *info)
 
 void hddtemp_psensor_list_update(struct psensor **sensors)
 {
-       char *hddtemp_output = fetch();
+       char *hddtemp_output;
+
+       hddtemp_output = fetch();
 
        if (!hddtemp_output)
                return;