[#243] Fix exhaustive linter errors

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-01-11 19:31:23 +03:00 committed by Alex Vanin
parent 60a55ea6c1
commit c2db2a54a1

View file

@ -139,6 +139,8 @@ func (c *Context) matchKeyValue(f *Filter, b *Node) bool {
return attr < c.numCache[f]
case OpLE:
return attr <= c.numCache[f]
default:
// do nothing and return false
}
}
// will not happen if context was created from f (maybe panic?)