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