diff options
author | deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | 2022-03-06 15:46:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 15:46:21 +0800 |
commit | 3acc13038dfe5e0643112140d329c6eb0ed4cd6a (patch) | |
tree | 7205f5757e00f509670cbd61e7b01dfaf8092f11 /internal/markup | |
parent | ab96a4f0d840987797e79ec7e3a4b02a7b6880e7 (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/markup')
-rw-r--r-- | internal/markup/markup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/markup/markup.go b/internal/markup/markup.go index d4784ff6..3f2a1172 100644 --- a/internal/markup/markup.go +++ b/internal/markup/markup.go @@ -122,7 +122,7 @@ func RenderIssueIndexPattern(rawBytes []byte, urlPrefix string, metas map[string var pound = []byte("#") // RenderCrossReferenceIssueIndexPattern renders issue indexes from other repositories to corresponding links. -func RenderCrossReferenceIssueIndexPattern(rawBytes []byte, urlPrefix string, metas map[string]string) []byte { +func RenderCrossReferenceIssueIndexPattern(rawBytes []byte, _ string, _ map[string]string) []byte { ms := CrossReferenceIssueNumericPattern.FindAll(rawBytes, -1) for _, m := range ms { if m[0] == ' ' || m[0] == '(' { |