removed useless assignment
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 17 Sep 2014 20:07:58 +0000 (22:07 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 17 Sep 2014 20:07:58 +0000 (22:07 +0200)
src/lib/cpu.c

index df6b963..ac70e39 100644 (file)
@@ -62,7 +62,7 @@ cpu_psensor_list_add(struct psensor **sensors, int measures_len)
 static double get_usage()
 {
        glibtop_cpu cpu;
-       unsigned long int used = 0;
+       unsigned long int used;
        unsigned long int dt;
        double cpu_rate = UNKNOWN_DBL_VALUE;