Commit 3991745c authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #14921 from egonelbre/megacheck_log

log: fix megacheck warnings
parents 6dd2803b cd82b89f
...@@ -330,7 +330,7 @@ func escapeString(s string) string { ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment