mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
log: fix megacheck warnings
This commit is contained in:
parent
b159cdd8dd
commit
cd82b89fde
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue