diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-21 12:04:56 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-21 12:04:56 -0400 |
commit | c5bfba483f4002c539cbeb4087827524dba8d0f8 (patch) | |
tree | a054fb1030f97f36308240d974057449acebcac3 /src/cmd/9p.c | |
parent | b0ae8a46a0e40773d306906dd0fd9b33832e7086 (diff) | |
download | plan9port-c5bfba483f4002c539cbeb4087827524dba8d0f8.tar.gz plan9port-c5bfba483f4002c539cbeb4087827524dba8d0f8.tar.bz2 plan9port-c5bfba483f4002c539cbeb4087827524dba8d0f8.zip |
silence more warnings
R=rsc
http://codereview.appspot.com/6744056
Diffstat (limited to 'src/cmd/9p.c')
-rw-r--r-- | src/cmd/9p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/9p.c b/src/cmd/9p.c index 6d329d6d..c8d4c444 100644 --- a/src/cmd/9p.c +++ b/src/cmd/9p.c @@ -497,7 +497,7 @@ void xls(int argc, char **argv) { char *err, *name, *xname, *f[4], buf[4096]; - int nf, i, j, l, sort; + int i, j, l, sort; int lflag, dflag, tflag, n, len[4]; Dir *d; CFid *fid; @@ -569,7 +569,7 @@ xls(int argc, char **argv) d[i].dev = 0; snprint(buf, sizeof buf, "%d %s %s %lld", d[i].dev, d[i].uid, d[i].gid, d[i].length); - nf = getfields(buf, f, 4, 0, " "); + getfields(buf, f, 4, 0, " "); for(j=0; j<4; j++){ l = strlen(f[j]); if(l > len[j]) |