all: fix go vet warnings

This commit is contained in:
Felix Lange
2016-04-15 11:06:57 +02:00
parent 68c755a238
commit 6fdd0893c3
41 changed files with 83 additions and 93 deletions

View File

@ -300,7 +300,6 @@ func (r *encReader) Read(b []byte) (n int, err error) {
}
r.piece = nil
}
panic("not reached")
}
// next returns the next piece of data to be read.
@ -650,5 +649,4 @@ func intsize(i uint64) (size int) {
return size
}
}
panic("not reached")
}