Skip to content

Commit

Permalink
Fix some errors found by go vet
Browse files Browse the repository at this point in the history
  • Loading branch information
Vojtech Bocek committed Sep 29, 2017
1 parent 47759ca commit 27e6241
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions zipreader.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ func OpenZip(zippath string) (zr *ZipReader, err error) {

f.Seek(off+4, 0)
}

return
}

func tryReadZip(f *os.File) (r *zip.Reader, err error) {
Expand Down Expand Up @@ -263,5 +261,4 @@ func findNextFileHeader(f *os.File) (int64, error) {

offset += int64(n)
}
return -1, nil
}

0 comments on commit 27e6241

Please sign in to comment.