log: fix megacheck warnings

pull/14921/head
Egon Elbre 7 years ago
parent b159cdd8dd
commit cd82b89fde
  1. 2
      log/format.go

@ -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)

Loading…
Cancel
Save