svn commit: trunk/busybox/procps
vda at busybox.net
vda at busybox.net
Sat Jun 28 23:42:06 UTC 2008
Author: vda
Date: 2008-06-28 16:42:03 -0700 (Sat, 28 Jun 2008)
New Revision: 22556
Log:
nmeter: tiny shrink
Modified:
trunk/busybox/procps/nmeter.c
Changeset:
Modified: trunk/busybox/procps/nmeter.c
===================================================================
--- trunk/busybox/procps/nmeter.c 2008-06-28 23:33:02 UTC (rev 22555)
+++ trunk/busybox/procps/nmeter.c 2008-06-28 23:42:03 UTC (rev 22556)
@@ -228,7 +228,7 @@
// 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;
More information about the busybox-cvs
mailing list