From cd82b89fde6e898318015f6252f202b0bf6c3489 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Sun, 6 Aug 2017 19:35:37 +0300 Subject: log: fix megacheck warnings --- log/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/format.go b/log/format.go index 6c19c7a55..0b07abb2a 100644 --- a/log/format.go +++ b/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) -- cgit v1.2.3