aboutsummaryrefslogtreecommitdiff
path: root/internal/route/repo/commit.go
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2022-03-06 15:46:21 +0800
committerGitHub <noreply@github.com>2022-03-06 15:46:21 +0800
commit3acc13038dfe5e0643112140d329c6eb0ed4cd6a (patch)
tree7205f5757e00f509670cbd61e7b01dfaf8092f11 /internal/route/repo/commit.go
parentab96a4f0d840987797e79ec7e3a4b02a7b6880e7 (diff)
autofix: unused parameter should be replaced by underscore (#6799)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/route/repo/commit.go')
-rw-r--r--internal/route/repo/commit.go2
1 files changed, 1 insertions, 1 deletions
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
}