Skip to content

Commit 213d960

Browse files
authored
rename unused parameter (#1143)
1 parent 303ae4a commit 213d960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rule/redundant_build_tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type RedundantBuildTagRule struct{}
1212
// Apply triggers if an old build tag `// +build` is found after a new one `//go:build`.
1313
// `//go:build` comments are automatically added by gofmt when Go 1.17+ is used.
1414
// See https://pkg.go.dev/cmd/go#hdr-Build_constraints
15-
func (*RedundantBuildTagRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
15+
func (*RedundantBuildTagRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure {
1616
for _, group := range file.AST.Comments {
1717
hasGoBuild := false
1818
for _, comment := range group.List {

0 commit comments

Comments
 (0)