mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-30 05:01:44 +00:00
avoid infinite recursion by proxying to iterator
``` WARNING: staticcheck, gosimple and unused are all set, using megacheck instead db/go_level_db.go:126:15⚠️ infinite recursive call (SA5007) (megacheck) db/go_level_db.go:135:17⚠️ infinite recursive call (SA5007) (megacheck) db/mem_db.go:106:2⚠️ redundant return statement (S1023) (megacheck) ``` https://circleci.com/gh/tendermint/tmlibs/220 Also remove unnecessary return statement
This commit is contained in:
@ -103,7 +103,6 @@ func (it *memDBIterator) Value() []byte {
|
||||
func (it *memDBIterator) Release() {
|
||||
it.db = nil
|
||||
it.keys = nil
|
||||
return
|
||||
}
|
||||
|
||||
func (it *memDBIterator) Error() error {
|
||||
|
Reference in New Issue
Block a user