Merge pull request #14921 from egonelbre/megacheck_log

log: fix megacheck warnings
This commit is contained in:
Péter Szilágyi 2017-08-07 14:24:22 +03:00 committed by GitHub
commit 3991745c5f
1 changed files with 1 additions and 1 deletions

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)