aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/syntax/nodes.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-11-24 22:09:57 -0500
committerRuss Cox <rsc@golang.org>2020-11-25 04:35:29 +0000
commit9e0e43d84d1bb653a74ccc7f90a80dfa9c665fbf (patch)
tree551b8baa8a488ffb59bc47ba904b88a6c2178ecb /src/cmd/compile/internal/syntax/nodes.go
parent4a6b4fd13965fe8428c9177bdd824a48dff553c0 (diff)
downloadgo-9e0e43d84d1bb653a74ccc7f90a80dfa9c665fbf.tar.gz
go-9e0e43d84d1bb653a74ccc7f90a80dfa9c665fbf.zip
[dev.regabi] cmd/compile: remove uses of dummy
Per https://developers.google.com/style/inclusive-documentation, since we are editing some of this code anyway and it is easier to put the cleanup in a separate CL. Change-Id: Ib6b851f43f9cc0a57676564477d4ff22abb1cee5 Reviewed-on: https://go-review.googlesource.com/c/go/+/273106 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/syntax/nodes.go')
-rw-r--r--src/cmd/compile/internal/syntax/nodes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/syntax/nodes.go b/src/cmd/compile/internal/syntax/nodes.go
index 815630fcd4..487cab19fe 100644
--- a/src/cmd/compile/internal/syntax/nodes.go
+++ b/src/cmd/compile/internal/syntax/nodes.go
@@ -114,7 +114,7 @@ func (*decl) aDecl() {}
// All declarations belonging to the same group point to the same Group node.
type Group struct {
- dummy int // not empty so we are guaranteed different Group instances
+ _ int // not empty so we are guaranteed different Group instances
}
// ----------------------------------------------------------------------------