aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-05-13 20:57:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-05-13 20:57:01 +0200
commit60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch)
tree38b193f0468dd57728fe991e9eaed8abf088deeb /procps
parent8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff)
downloadbusybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.gz
busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.bz2
busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.zip
fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/powertop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/procps/powertop.c b/procps/powertop.c
index bfe5a9568..008cdfca4 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -393,11 +393,9 @@ static NOINLINE int process_timer_stats(void)
393 char buf[128]; 393 char buf[128];
394 char line[15 + 3 + 128]; 394 char line[15 + 3 + 128];
395 int n; 395 int n;
396 ullong totalticks;
397 FILE *fp; 396 FILE *fp;
398 397
399 buf[0] = '\0'; 398 buf[0] = '\0';
400 totalticks = 0;
401 399
402 n = 0; 400 n = 0;
403 fp = NULL; 401 fp = NULL;