var init for bool

Signed-off-by: schou <pschou@users.noreply.github.com>
This commit is contained in:
schou 2021-02-23 20:08:51 -05:00
parent 22bfc11738
commit 75d932a172

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 {