cosmetic: use _ for unused args

Test: run `m nothing`
Bug: NA
Change-Id: Idfdb0d4121244e25847822114a2d12c6bb18ebd1
This commit is contained in:
Usta Shrestha 2023-02-21 23:07:09 -05:00 committed by Usta (Tsering) Shrestha
parent 26e44b7b78
commit 7f3c51ca43

View file

@ -325,11 +325,11 @@ func (n varNinjaString) Variables() []Variable {
return n.variables 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)) 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) { escaper *strings.Replacer) {
w.WriteString(escaper.Replace(string(l))) w.WriteString(escaper.Replace(string(l)))
} }