Skip to content

Commit 5e0906b

Browse files
fix: Remove unused variable in PathNode.Evaluate
Co-Authored-By: [email protected] <[email protected]>
1 parent c651310 commit 5e0906b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jparse/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func (n PathNode) Evaluate(ctx *Context) (interface{}, error) {
306306
}
307307

308308
var current interface{} = ctx.Input
309-
for i, step := range n.Steps {
309+
for _, step := range n.Steps {
310310
nextCtx := &Context{
311311
Parent: ctx,
312312
Position: -1,

0 commit comments

Comments
 (0)