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))) }