jsonpath: drop unnecessary assignment, fix lint fail

pkg/services/oracle/jsonpath/jsonpath.go:354:8  ineffassign  ineffectual assignment to val
This commit is contained in:
Roman Khimov 2021-05-13 17:26:38 +03:00
parent 186cfa32df
commit 4131e208e5

View file

@ -351,7 +351,7 @@ func (p *pathParser) processUnion(objs []interface{}, firstTyp pathTokenType, fi
}
items = append(items, val)
typ, val = p.nextToken()
typ, _ = p.nextToken()
if typ == pathRightBracket {
break
} else if typ != pathComma {