diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
commit | 0cfb376070a4bef7b4168a9795e025437e1be79f (patch) | |
tree | 9cea2b3befd9183d11ccc0745a81658d5956e4d7 /src/cmd/vac | |
parent | 34d629c8572518afe0a1d5698d7b184938e35a8f (diff) | |
download | plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.gz plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.bz2 plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.zip |
fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
Diffstat (limited to 'src/cmd/vac')
-rw-r--r-- | src/cmd/vac/vac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index 03ada7b9..b54503e4 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -511,7 +511,6 @@ vac(VacFile *fp, VacFile *diffp, char *name, Dir *d) /* don't write anything */ } else if(d->mode&DMSYMLINK){ - memset(buf, 0, sizeof buf); n = readlink(name, buf, sizeof buf); if(n > 0 && vacfilewrite(f, buf, n, 0) < 0){ warn("venti write %s: %r", name); |