summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-28 23:42:03 +0000
committerDenis Vlasenko2008-06-28 23:42:03 +0000
commit259c9a6e9074d6f63790034af78befeca9a74833 (patch)
tree1c864044e721805b4d665585deab311ec1e115a2
parentbefd5eaec85de9a53fa9e61ae088d56a4856e692 (diff)
downloadbusybox-259c9a6e9074d6f63790034af78befeca9a74833.zip
busybox-259c9a6e9074d6f63790034af78befeca9a74833.tar.gz
nmeter: tiny shrink
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 86007ee..96d0bb9 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;