mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 03:57:19 +00:00
go1.16 (#14783)
This commit is contained in:
8
vendor/github.com/ulikunitz/xz/lzma/state.go
generated
vendored
8
vendor/github.com/ulikunitz/xz/lzma/state.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Copyright 2014-2019 Ulrich Kunitz. All rights reserved.
|
||||
// Copyright 2014-2021 Ulrich Kunitz. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@ -53,12 +53,6 @@ func (s *state) Reset() {
|
||||
s.distCodec.init()
|
||||
}
|
||||
|
||||
// initState initializes the state.
|
||||
func initState(s *state, p Properties) {
|
||||
*s = state{Properties: p}
|
||||
s.Reset()
|
||||
}
|
||||
|
||||
// newState creates a new state from the give Properties.
|
||||
func newState(p Properties) *state {
|
||||
s := &state{Properties: p}
|
||||
|
Reference in New Issue
Block a user