Commit 73629359 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed invalid and unreachable code.

Reviewed-by: holmstedt
parent 4ad02938
...@@ -196,6 +196,7 @@ void ChangePropertyVisitor::insertIntoArray(QmlJS::AST::UiArrayBinding *ast) ...@@ -196,6 +196,7 @@ void ChangePropertyVisitor::insertIntoArray(QmlJS::AST::UiArrayBinding *ast)
UiObjectMember *lastMember = 0; UiObjectMember *lastMember = 0;
for (UiArrayMemberList *iter = ast->members; iter; iter = iter->next) { for (UiArrayMemberList *iter = ast->members; iter; iter = iter->next) {
lastMember = iter->member;
} }
if (!lastMember) if (!lastMember)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment