summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-04-30 09:01:00 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-30 14:01:22 +0200
commitb7cd9647618d63162a0c923437d86813fa90e11b (patch)
treef74322d551d0c016272c7a3209ea25d098f2c38c /src
parent7bd1f36d376cf191e50c5af7e75ed80064be1130 (diff)
Remove unused code
Change-Id: I185db2361990dd1d503488a364826738270388b5 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com> Reviewed-by: Martin Smith <martin.smith@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/tools/qdoc/tree.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/qdoc/tree.cpp b/src/tools/qdoc/tree.cpp
index a81f80f106..ac55cb7318 100644
--- a/src/tools/qdoc/tree.cpp
+++ b/src/tools/qdoc/tree.cpp
@@ -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;