client: manually delete "yynn2 = 0"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-04-09 09:58:04 -07:00
parent 13c440dea4
commit 91664ec5ac

View File

@ -4,10 +4,11 @@ package client
import (
"errors"
codec1978 "github.com/ugorji/go/codec"
"runtime"
"strconv"
"time"
codec1978 "github.com/ugorji/go/codec"
)
const (
@ -1818,7 +1819,6 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) {
}
}
r.WriteMapStart(yynn2)
yynn2 = 0
}
if yyr2 || yy2arr2 {
r.WriteArrayElem()