From 7f3c51ca434a5a937703119e6f9ca64007ecd458 Mon Sep 17 00:00:00 2001 From: Usta Shrestha Date: Tue, 21 Feb 2023 23:07:09 -0500 Subject: [PATCH] cosmetic: use _ for unused args Test: run `m nothing` Bug: NA Change-Id: Idfdb0d4121244e25847822114a2d12c6bb18ebd1 --- ninja_strings.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ninja_strings.go b/ninja_strings.go index 0b783c3..9e83a4d 100644 --- a/ninja_strings.go +++ b/ninja_strings.go @@ -325,11 +325,11 @@ func (n varNinjaString) Variables() []Variable { return n.variables } -func (l literalNinjaString) Value(pkgNames map[*packageContext]string) string { +func (l literalNinjaString) Value(_ map[*packageContext]string) string { return defaultEscaper.Replace(string(l)) } -func (l literalNinjaString) ValueWithEscaper(w io.StringWriter, pkgNames map[*packageContext]string, +func (l literalNinjaString) ValueWithEscaper(w io.StringWriter, _ map[*packageContext]string, escaper *strings.Replacer) { w.WriteString(escaper.Replace(string(l))) }