From: Lars Knoll Date: Mon, 30 Apr 2012 07:01:00 +0000 (+0200) Subject: Remove unused code X-Git-Tag: 071012110112~1316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7cd9647618d63162a0c923437d86813fa90e11b;p=profile%2Fivi%2Fqtbase.git Remove unused code Change-Id: I185db2361990dd1d503488a364826738270388b5 Reviewed-by: Casper van Donderen Reviewed-by: Martin Smith --- diff --git a/src/tools/qdoc/tree.cpp b/src/tools/qdoc/tree.cpp index a81f80f..ac55cb7 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;