Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ef8f44

Browse files
committed
go/analysis/checker: remove unused struct field
This was introduced in CL 411907 but was never used. Change-Id: Id79471dd5807c27de0e541d2b4ae4fc26f8f88a4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/702539 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Findley <[email protected]>
1 parent 8b92961 commit 1ef8f44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

go/analysis/checker/checker.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ type Action struct {
128128
pass *analysis.Pass
129129
objectFacts map[objectFactKey]analysis.Fact
130130
packageFacts map[packageFactKey]analysis.Fact
131-
inputs map[*analysis.Analyzer]any
132131
}
133132

134133
func (act *Action) String() string {
@@ -295,7 +294,6 @@ func (act *Action) execOnce() {
295294
// in-memory outputs of prerequisite analyzers
296295
// become inputs to this analysis pass.
297296
inputs[dep.Analyzer] = dep.Result
298-
299297
} else if dep.Analyzer == act.Analyzer { // (always true)
300298
// Same analysis, different package (vertical edge):
301299
// serialized facts produced by prerequisite analysis

0 commit comments

Comments
 (0)