From 3acc13038dfe5e0643112140d329c6eb0ed4cd6a Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 15:46:21 +0800 Subject: autofix: unused parameter should be replaced by underscore (#6799) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/route/repo/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/route/repo/commit.go') diff --git a/internal/route/repo/commit.go b/internal/route/repo/commit.go index a8a344bd..ae424d06 100644 --- a/internal/route/repo/commit.go +++ b/internal/route/repo/commit.go @@ -35,7 +35,7 @@ func RefCommits(c *context.Context) { } // TODO(unknwon) -func RenderIssueLinks(oldCommits []*git.Commit, repoLink string) []*git.Commit { +func RenderIssueLinks(oldCommits []*git.Commit, _ string) []*git.Commit { return oldCommits } -- cgit v1.2.3