aboutsummaryrefslogtreecommitdiff
path: root/src/libdiskfs
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-10-21 11:25:08 -0400
committerRuss Cox <rsc@swtch.com>2012-10-21 11:25:08 -0400
commit0cfb376070a4bef7b4168a9795e025437e1be79f (patch)
tree9cea2b3befd9183d11ccc0745a81658d5956e4d7 /src/libdiskfs
parent34d629c8572518afe0a1d5698d7b184938e35a8f (diff)
downloadplan9port-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/libdiskfs')
-rw-r--r--src/libdiskfs/venti.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libdiskfs/venti.c b/src/libdiskfs/venti.c
index e3e44204..a497d5e0 100644
--- a/src/libdiskfs/venti.c
+++ b/src/libdiskfs/venti.c
@@ -30,7 +30,6 @@ vtfileindices(VtEntry *e, u32int bn, int *index)
memset(index, 0, VtPointerDepth*sizeof(int));
np = e->psize/VtScoreSize;
- memset(index, 0, sizeof(index));
for(i=0; bn > 0; i++){
if(i >= VtPointerDepth){
werrstr("bad block number %lud", (ulong)bn);