From 259c9a6e9074d6f63790034af78befeca9a74833 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 28 Jun 2008 23:42:03 +0000 Subject: nmeter: tiny shrink --- procps/nmeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/nmeter.c b/procps/nmeter.c index 86007eee0..96d0bb951 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c @@ -228,7 +228,7 @@ static int rdval_loadavg(const char* p, ullong *vec, ...) // 3 1 hda1 0 0 0 0 <- ignore if only 4 fields static int rdval_diskstats(const char* p, ullong *vec) { - ullong rd = 0; // to avoid "warning: 'rd' might be used uninitialized" + ullong rd = rd; // for compiler int indexline = 0; vec[0] = 0; vec[1] = 0; -- cgit v1.2.3