log: fix megacheck warnings

This commit is contained in:
Egon Elbre
2017-08-07 13:40:05 +03:00
parent b159cdd8dd
commit cd82b89fde
+1 -1
View File
@@ -330,7 +330,7 @@ func escapeString(s string) string {
needsEscape = true
}
}
if needsEscape == false && needsQuotes == false {
if !needsEscape && !needsQuotes {
return s
}
e := stringBufPool.Get().(*bytes.Buffer)