mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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