libexpr: remove unused attrError
The attrError variable is no longer used but still allocated on every call to the findAlongAttrPath function.
This commit is contained in:
parent
a7540294cf
commit
4fc4eb6c93
|
@ -37,9 +37,6 @@ std::pair<Value *, Pos> findAlongAttrPath(EvalState & state, const string & attr
|
|||
{
|
||||
Strings tokens = parseAttrPath(attrPath);
|
||||
|
||||
Error attrError =
|
||||
Error(format("attribute selection path '%1%' does not match expression") % attrPath);
|
||||
|
||||
Value * v = &vIn;
|
||||
Pos pos = noPos;
|
||||
|
||||
|
|
Loading…
Reference in a new issue