From: Dave Cheney Date: Thu, 23 Mar 2017 04:05:31 +0000 (+1100) Subject: cmd/compile/internal/gc: remove unused exporter.nesting field X-Git-Tag: go1.9beta1~1024 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2ae79d0711c7ff039e440d1bf1d6a4e45193f533;p=gostls13.git cmd/compile/internal/gc: remove unused exporter.nesting field exporter.nesting was added in c7b9bd74 to mitigate #16369 which was closed in ee272bbf. Remove the exporter.nesting field as it is now unused. Change-Id: I07873d1a07d6a08b11994b817a1483ffc2f5e45f Reviewed-on: https://go-review.googlesource.com/38490 Run-TryBot: Dave Cheney Reviewed-by: Matthew Dempsky --- diff --git a/src/cmd/compile/internal/gc/bexport.go b/src/cmd/compile/internal/gc/bexport.go index 4e72cf3452..bed200b578 100644 --- a/src/cmd/compile/internal/gc/bexport.go +++ b/src/cmd/compile/internal/gc/bexport.go @@ -183,9 +183,6 @@ type exporter struct { written int // bytes written indent int // for p.trace trace bool - - // work-around for issue #16369 only - nesting int // amount of "nesting" of interface types } // export writes the exportlist for localpkg to out and returns the number of bytes written.