From cd82b89fde6e898318015f6252f202b0bf6c3489 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Sun, 6 Aug 2017 19:35:37 +0300 Subject: [PATCH] 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 6c19c7a552..0b07abb2ac 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)