Merge pull request #3470 from andir/remove-unusued-attrError

libexpr: remove unused attrError
This commit is contained in:
Eelco Dolstra 2020-04-03 09:36:13 +02:00 committed by GitHub
commit 47c568ee32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;