forked from mirror/go-json
Fix unnecessary pointer assignment
This commit is contained in:
parent
2ddd2d882e
commit
a75d05a74f
|
@ -189,7 +189,6 @@ func (e *Encoder) run(code *opcode) error {
|
|||
e.encodeString(*(*string)(unsafe.Pointer(&bytes)))
|
||||
}
|
||||
code = code.next
|
||||
code.ptr = ptr
|
||||
case opSliceHead:
|
||||
p := code.ptr
|
||||
headerCode := code.toSliceHeaderCode()
|
||||
|
|
Loading…
Reference in New Issue