Merge "cosmetic: use _ for unused args"
This commit is contained in:
commit
1821351760
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