Skip to content

Commit

Permalink
remove ineffectual assignment base var
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Ojea committed Nov 17, 2021
1 parent f143d1b commit 98884f7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ func (d *decoder) Decode(defaults *schema.GroupVersionKind, into runtime.Object)
}
// must read the rest of the frame (until we stop getting ErrShortBuffer)
d.resetRead = true
base = 0 //nolint:ineffassign
return nil, nil, ErrObjectTooLarge
}
if err != nil {
Expand Down

0 comments on commit 98884f7

Please sign in to comment.