mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 23:38:51 +02:00
build: fix gocritic lint issue underef
This commit is contained in:
committed by
Nick Craig-Wood
parent
bad8207378
commit
4454ed9d3b
@ -888,7 +888,7 @@ func (fh *decrypter) fillBuffer() (err error) {
|
||||
fs.Errorf(nil, "crypt: ignoring: %v", ErrorEncryptedBadBlock)
|
||||
// Zero out the bad block and continue
|
||||
for i := range (*fh.buf)[:n] {
|
||||
(*fh.buf)[i] = 0
|
||||
fh.buf[i] = 0
|
||||
}
|
||||
}
|
||||
fh.bufIndex = 0
|
||||
|
Reference in New Issue
Block a user