diff options
author | Paulo Gomes <pjbgf@linux.com> | 2024-06-28 23:10:23 +0100 |
---|---|---|
committer | Paulo Gomes <pjbgf@linux.com> | 2024-06-29 00:09:34 +0100 |
commit | f61638f24a924c48606977e38920eac07c7251e2 (patch) | |
tree | d2b4a3d38a688921a46392b6b8151190bbb216c7 /plumbing/format | |
parent | 1e72372fced2c3b5300f1408e6e71b1a50adc6e3 (diff) | |
download | go-git-f61638f24a924c48606977e38920eac07c7251e2.tar.gz |
*: Small fixes to remove linter warnings
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Diffstat (limited to 'plumbing/format')
-rw-r--r-- | plumbing/format/index/decoder.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go index f43b1c5..fc25d37 100644 --- a/plumbing/format/index/decoder.go +++ b/plumbing/format/index/decoder.go @@ -225,7 +225,6 @@ func (d *Decoder) readExtensions(idx *Index) error { peeked, err = d.buf.Peek(peekLen) if len(peeked) < peekLen { // there can't be an extension at this point, so let's bail out - err = nil break } if err != nil { |