summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-13 20:57:01 +0200
committerDenys Vlasenko2011-05-13 20:57:01 +0200
commit60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch)
tree38b193f0468dd57728fe991e9eaed8abf088deeb /procps
parent8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff)
downloadbusybox-60a9414cad23b6e8cc6b13e37675826ed05f7709.zip
busybox-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.gz
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 bfe5a95..008cdfc 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -393,11 +393,9 @@ static NOINLINE int process_timer_stats(void)
char buf[128];
char line[15 + 3 + 128];
int n;
- ullong totalticks;
FILE *fp;
buf[0] = '\0';
- totalticks = 0;
n = 0;
fp = NULL;