qmljs: Remove dead code

Change-Id: I2b9cdf9960a28c952905e11332f029e1503850ce
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Robert Loehning
2017-03-09 18:27:03 +01:00
parent 0822065ed2
commit 5f95b61b2b

View File

@@ -196,10 +196,6 @@ void TypeDescriptionReader::readDependencies(UiScriptBinding *ast)
}
for (ElementList *l = exp->elements; l; l = l->next) {
StringLiteral *str = AST::cast<StringLiteral *>(l->expression);
if (!exp) {
addWarning(l->expression->firstSourceLocation(),
tr("Cannot read dependency: skipping."));
}
*_dependencies << str->value.toString();
}
}