aboutsummaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2022-07-28 17:17:29 +0200
committerGitHub <noreply@github.com>2022-07-28 17:17:29 +0200
commit5130c414daae70de2d0c786d6bea7e199d5f3426 (patch)
tree9c0a4d34cb546106a14b291a8db37ac2391f7222 /meta
parent7bdb5faa9c69a4e5507b3d747cdfd7cf5a599160 (diff)
downloadsyncthing-5130c414daae70de2d0c786d6bea7e199d5f3426.tar.gz
syncthing-5130c414daae70de2d0c786d6bea7e199d5f3426.zip
all: Unused parameter should be replaced by underscore (#8464)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/metalint_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/metalint_test.go b/meta/metalint_test.go
index 6113a5836..0c0407373 100644
--- a/meta/metalint_test.go
+++ b/meta/metalint_test.go
@@ -70,7 +70,7 @@ func isGometalinterInstalled() bool {
return true
}
-func gometalinter(t *testing.T, dirs []string, excludes ...string) bool {
+func gometalinter(_ *testing.T, dirs []string, excludes ...string) bool {
params := []string{"--disable-all", "--concurrency=2", "--deadline=300s"}
for _, linter := range fastLinters {