good morning!!!!

Skip to content
Snippets Groups Projects
Commit cd82b89f authored by Egon Elbre's avatar Egon Elbre
Browse files

log: fix megacheck warnings

parent b159cdd8
No related branches found
No related tags found
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