Skip to content

Commit

Permalink
Update chunk_init_common.go
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Daniels <[email protected]>
  • Loading branch information
Sean-Der and edaniels authored Feb 9, 2024
1 parent aa84756 commit 204646a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chunk_init_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (i *chunkInitCommon) unmarshal(raw []byte) error {
remaining := len(raw) - offset
for remaining > 0 {
if remaining > initOptionalVarHeaderLength {
pHeader := paramHeader{}
var pHeader paramHeader
if err := pHeader.unmarshal(raw[offset:]); err != nil {
return fmt.Errorf("%w: %v", ErrInitChunkParseParamTypeFailed, err) //nolint:errorlint
}
Expand Down

0 comments on commit 204646a

Please sign in to comment.