mirror of https://github.com/goccy/go-json.git
Remove unnecessary code
This commit is contained in:
parent
345da09ed3
commit
6466e00432
|
@ -171,7 +171,6 @@ func (e *Encoder) runEscaped(ctx *encodeRuntimeContext, b []byte, codeSet *opcod
|
|||
}
|
||||
iface := (*interfaceHeader)(e.ptrToUnsafePtr(ptr))
|
||||
ctx.keepRefs = append(ctx.keepRefs, unsafe.Pointer(iface))
|
||||
ctx.keepRefs = append(ctx.keepRefs, iface.ptr)
|
||||
if iface.ptr == nil {
|
||||
b = encodeNull(b)
|
||||
b = encodeComma(b)
|
||||
|
|
Loading…
Reference in New Issue