From 36a48c93a6c6d1ca6cd293d2c4f1bf866cc285fa Mon Sep 17 00:00:00 2001 From: "David R. Jenni" Date: Wed, 1 Mar 2017 12:48:21 +0100 Subject: [PATCH] x/tools/go/ssa: remove unused field from NamedConst Found with honnef.co/go/tools/cmd/unused. Change-Id: I68b4af07cc64a46f5794a0e339859f4d6bc9dad1 Reviewed-on: https://go-review.googlesource.com/37605 Reviewed-by: Alan Donovan --- go/ssa/ssa.go | 1 - 1 file changed, 1 deletion(-) diff --git a/go/ssa/ssa.go b/go/ssa/ssa.go index a8bcbb60..e8350f1c 100644 --- a/go/ssa/ssa.go +++ b/go/ssa/ssa.go @@ -92,7 +92,6 @@ type Type struct { type NamedConst struct { object *types.Const Value *Const - pos token.Pos pkg *Package }