mirror of https://github.com/goccy/go-json.git
Fix error by linter
This commit is contained in:
parent
e0812246ef
commit
d2d7e6d367
|
@ -18,7 +18,7 @@ func store(base uintptr, idx uintptr, p uintptr) {
|
|||
**(**uintptr)(unsafe.Pointer(&addr)) = p
|
||||
}
|
||||
|
||||
func loadNPtr(base uintptr, idx uintptr, ptrNum int) uintptr {
|
||||
func loadNPtr(base uintptr, idx uintptr, _ int) uintptr {
|
||||
addr := base + idx
|
||||
p := **(**uintptr)(unsafe.Pointer(&addr))
|
||||
if p == 0 {
|
||||
|
|
|
@ -18,7 +18,7 @@ func store(base uintptr, idx uintptr, p uintptr) {
|
|||
**(**uintptr)(unsafe.Pointer(&addr)) = p
|
||||
}
|
||||
|
||||
func loadNPtr(base uintptr, idx uintptr, ptrNum int) uintptr {
|
||||
func loadNPtr(base uintptr, idx uintptr, _ int) uintptr {
|
||||
addr := base + idx
|
||||
p := **(**uintptr)(unsafe.Pointer(&addr))
|
||||
if p == 0 {
|
||||
|
|
|
@ -19,7 +19,7 @@ func store(base uintptr, idx uintptr, p uintptr) {
|
|||
**(**uintptr)(unsafe.Pointer(&addr)) = p
|
||||
}
|
||||
|
||||
func loadNPtr(base uintptr, idx uintptr, ptrNum int) uintptr {
|
||||
func loadNPtr(base uintptr, idx uintptr, _ int) uintptr {
|
||||
addr := base + idx
|
||||
p := **(**uintptr)(unsafe.Pointer(&addr))
|
||||
if p == 0 {
|
||||
|
|
|
@ -19,7 +19,7 @@ func store(base uintptr, idx uintptr, p uintptr) {
|
|||
**(**uintptr)(unsafe.Pointer(&addr)) = p
|
||||
}
|
||||
|
||||
func loadNPtr(base uintptr, idx uintptr, ptrNum int) uintptr {
|
||||
func loadNPtr(base uintptr, idx uintptr, _ int) uintptr {
|
||||
addr := base + idx
|
||||
p := **(**uintptr)(unsafe.Pointer(&addr))
|
||||
if p == 0 {
|
||||
|
|
Loading…
Reference in New Issue