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)))
|
e.encodeString(*(*string)(unsafe.Pointer(&bytes)))
|
||||||
}
|
}
|
||||||
code = code.next
|
code = code.next
|
||||||
code.ptr = ptr
|
|
||||||
case opSliceHead:
|
case opSliceHead:
|
||||||
p := code.ptr
|
p := code.ptr
|
||||||
headerCode := code.toSliceHeaderCode()
|
headerCode := code.toSliceHeaderCode()
|
||||||
|
|
Loading…
Reference in New Issue