Remove debug log

This commit is contained in:
Masaaki Goshima 2020-12-24 18:45:04 +09:00
parent 23290f4ce4
commit cfb569220d
1 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package json package json
import ( import (
"fmt"
"unsafe" "unsafe"
) )
@ -20,7 +19,6 @@ func newAnonymousFieldDecoder(structType *rtype, offset uintptr, dec decoder) *a
} }
func (d *anonymousFieldDecoder) decodeStream(s *stream, p unsafe.Pointer) error { func (d *anonymousFieldDecoder) decodeStream(s *stream, p unsafe.Pointer) error {
fmt.Println("called anonymous field decoder", *(*unsafe.Pointer)(p))
if *(*unsafe.Pointer)(p) == nil { if *(*unsafe.Pointer)(p) == nil {
*(*unsafe.Pointer)(p) = unsafe_New(d.structType) *(*unsafe.Pointer)(p) = unsafe_New(d.structType)
} }