diff --git a/src/libs/qmljs/qmljstypedescriptionreader.cpp b/src/libs/qmljs/qmljstypedescriptionreader.cpp index 0c7267bd0ea..4a7f30afc4b 100644 --- a/src/libs/qmljs/qmljstypedescriptionreader.cpp +++ b/src/libs/qmljs/qmljstypedescriptionreader.cpp @@ -196,10 +196,6 @@ void TypeDescriptionReader::readDependencies(UiScriptBinding *ast) } for (ElementList *l = exp->elements; l; l = l->next) { StringLiteral *str = AST::cast(l->expression); - if (!exp) { - addWarning(l->expression->firstSourceLocation(), - tr("Cannot read dependency: skipping.")); - } *_dependencies << str->value.toString(); } }