Fix unnecessary pointer assignment

This commit is contained in:
Masaaki Goshima 2020-08-27 21:05:37 +09:00
parent 2ddd2d882e
commit a75d05a74f
1 changed files with 0 additions and 1 deletions

View File

@ -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()