mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 18:52:24 -05:00
[chore]: Bump codeberg.org/gruf/go-structr from 0.9.0 to 0.9.6 (#3973)
Bumps codeberg.org/gruf/go-structr from 0.9.0 to 0.9.6. --- updated-dependencies: - dependency-name: codeberg.org/gruf/go-structr dependency-version: 0.9.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
e263d23622
commit
2cc5d6269d
10 changed files with 280 additions and 116 deletions
4
vendor/codeberg.org/gruf/go-structr/item.go
generated
vendored
4
vendor/codeberg.org/gruf/go-structr/item.go
generated
vendored
|
|
@ -1,6 +1,7 @@
|
|||
package structr
|
||||
|
||||
import (
|
||||
"os"
|
||||
"sync"
|
||||
"unsafe"
|
||||
)
|
||||
|
|
@ -37,7 +38,8 @@ func free_indexed_item(item *indexed_item) {
|
|||
if len(item.indexed) > 0 ||
|
||||
item.elem.next != nil ||
|
||||
item.elem.prev != nil {
|
||||
should_not_reach(false)
|
||||
msg := assert("item not in use")
|
||||
os.Stderr.WriteString(msg + "\n")
|
||||
return
|
||||
}
|
||||
item.data = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue