From 0cfb376070a4bef7b4168a9795e025437e1be79f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 21 Oct 2012 11:25:08 -0400 Subject: fix clang warnings reported by Tuncer Ayaz R=rsc http://codereview.appspot.com/6744054 --- src/libdiskfs/venti.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libdiskfs/venti.c') 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); -- cgit v1.2.3