Remove unused code
authorLars Knoll <lars.knoll@nokia.com>
Mon, 30 Apr 2012 07:01:00 +0000 (09:01 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 30 Apr 2012 12:01:22 +0000 (14:01 +0200)
Change-Id: I185db2361990dd1d503488a364826738270388b5
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Martin Smith <martin.smith@nokia.com>
src/tools/qdoc/tree.cpp

index a81f80f..ac55cb7 100644 (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;