forked from mirror/go-json
Remove unused field
This commit is contained in:
parent
bcc5738c6f
commit
876de765e4
|
@ -307,7 +307,6 @@ type structFieldCode struct {
|
||||||
key []byte
|
key []byte
|
||||||
offset uintptr
|
offset uintptr
|
||||||
anonymousKey bool
|
anonymousKey bool
|
||||||
anonymous bool
|
|
||||||
nextField *opcode
|
nextField *opcode
|
||||||
end *opcode
|
end *opcode
|
||||||
}
|
}
|
||||||
|
@ -323,7 +322,6 @@ func (c *structFieldCode) copy(codeMap map[uintptr]*opcode) *opcode {
|
||||||
field := &structFieldCode{
|
field := &structFieldCode{
|
||||||
key: c.key,
|
key: c.key,
|
||||||
anonymousKey: c.anonymousKey,
|
anonymousKey: c.anonymousKey,
|
||||||
anonymous: c.anonymous,
|
|
||||||
offset: c.offset,
|
offset: c.offset,
|
||||||
}
|
}
|
||||||
code := (*opcode)(unsafe.Pointer(field))
|
code := (*opcode)(unsafe.Pointer(field))
|
||||||
|
|
Loading…
Reference in New Issue