cosmetic: use _ for unused args
Test: run `m nothing` Bug: NA Change-Id: Idfdb0d4121244e25847822114a2d12c6bb18ebd1
This commit is contained in:
parent
26e44b7b78
commit
7f3c51ca43
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue