Remove unused code

Change-Id: I185db2361990dd1d503488a364826738270388b5
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Martin Smith <martin.smith@nokia.com>
This commit is contained in:
Lars Knoll 2012-04-30 09:01:00 +02:00 committed by Qt by Nokia
parent 7bd1f36d37
commit b7cd964761

View File

@ -2393,9 +2393,7 @@ Node* Tree::findNodeRecursive(const QStringList& path,
else if (n->isCollisionNode()) {
if (acceptCollision)
return n;
return n = findNodeRecursive(path, pathIndex, n, type, subtype);
if (n)
return n;
return findNodeRecursive(path, pathIndex, n, type, subtype);
}
else
return 0;