forked from cerc-io/plugeth
log: fix megacheck warnings
This commit is contained in:
parent
b159cdd8dd
commit
cd82b89fde
@ -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…
Reference in New Issue
Block a user