From 876de765e4be1ff831e3fb33b07a1185456b9ca6 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Sat, 15 Aug 2020 18:38:26 +0900 Subject: [PATCH] Remove unused field --- encode_opcode.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/encode_opcode.go b/encode_opcode.go index 1b6e160..f67065e 100644 --- a/encode_opcode.go +++ b/encode_opcode.go @@ -307,7 +307,6 @@ type structFieldCode struct { key []byte offset uintptr anonymousKey bool - anonymous bool nextField *opcode end *opcode } @@ -323,7 +322,6 @@ func (c *structFieldCode) copy(codeMap map[uintptr]*opcode) *opcode { field := &structFieldCode{ key: c.key, anonymousKey: c.anonymousKey, - anonymous: c.anonymous, offset: c.offset, } code := (*opcode)(unsafe.Pointer(field))