log: fix megacheck warnings
This commit is contained in:
parent
b159cdd8dd
commit
cd82b89fde
@ -330,7 +330,7 @@ func escapeString(s string) string {
|
|||||||
needsEscape = true
|
needsEscape = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if needsEscape == false && needsQuotes == false {
|
if !needsEscape && !needsQuotes {
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
e := stringBufPool.Get().(*bytes.Buffer)
|
e := stringBufPool.Get().(*bytes.Buffer)
|
||||||
|
Loading…
Reference in New Issue
Block a user