fix clang warnings reported by Tuncer Ayaz
R=rsc http://codereview.appspot.com/6744054
This commit is contained in:
parent
34d629c857
commit
0cfb376070
24 changed files with 586 additions and 588 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue