forked from mirror/go-json
Remove debug log
This commit is contained in:
parent
23290f4ce4
commit
cfb569220d
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue