good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3991745c authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #14921 from egonelbre/megacheck_log

log: fix megacheck warnings
parents 6dd2803b cd82b89f
Branches
Tags
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment