var init for bool

Signed-off-by: schou <pschou@users.noreply.github.com>
pull/8487/head
schou 2021-02-23 20:08:51 -05:00
parent 22bfc11738
commit 75d932a172
1 changed files with 1 additions and 2 deletions

View File

@ -400,8 +400,7 @@ func (ng *Engine) validateOpts(expr parser.Expr) error {
return nil
}
atModifierUsed := false
negativeOffsetUsed := false
var atModifierUsed, negativeOffsetUsed bool
var validationErr error
parser.Inspect(expr, func(node parser.Node, path []parser.Node) error {