From 2e89e301fcd6e73598d634a0b189836111965578 Mon Sep 17 00:00:00 2001
From: Kirill Smelkov <kirr@nexedi.com>
Date: Fri, 15 Jan 2021 13:41:49 +0300
Subject: [PATCH] .

---
 go/neo/proto/protogen.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/go/neo/proto/protogen.go b/go/neo/proto/protogen.go
index c031ed04..3e502d9b 100644
--- a/go/neo/proto/protogen.go
+++ b/go/neo/proto/protogen.go
@@ -1310,7 +1310,6 @@ func (d *decoderM) genSlice1(assignto string, typ types.Type) {
 	d.emit("  return 0, mdecodeErr(%q, err)", d.pathName(assignto))
 	d.emit("}")
 
-	// XXX dup wrt decoderN ?
 	switch t := typ.(type) {
 	case *types.Basic:
 		if t.Kind() != types.String {
@@ -1366,7 +1365,6 @@ func (d *decoderN) genBuf(assignto string) {
 }
 
 func (d *decoderM) genBuf(assignto string) {
-	// XXX dup wrt decoderM.genSlice1 ?
 	// -> msgp: flush queued overflow checks; put place for next overflow
 	// checks after msgp is done.
 	d.overflowCheck()
@@ -1379,8 +1377,6 @@ func (d *decoderM) genBuf(assignto string) {
 	d.emit("  return 0, mdecodeErr(%q, err)", d.pathName(assignto))
 	d.emit("}")
 
-	// XXX dup wrt decoderN.genBuf ?
-
 	// TODO eventually do not copy but reference original
 	d.emit("%v= mem.BufAlloc(len(b))", assignto)
 	d.emit("copy(%v.Data, b)", assignto)
-- 
2.30.9