[#243] Fix exhaustive linter errors
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
60a55ea6c1
commit
c2db2a54a1
1 changed files with 2 additions and 0 deletions
|
@ -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?)
|
||||
|
|
Loading…
Reference in a new issue