summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2012-12-18 17:39:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-19 13:44:27 +0100
commit234163adb3ceb9a6f2fac04a276724bf8495ca8e (patch)
treee9b59599f21a2c74b66aea2c1589710043a68385
parent854e5c473b618b7bcec213faf92ffa24cadc5f3e (diff)
QDoc: Fix warning - unused variable
Change-Id: Id4068e1a1fcfad8fb3cc9174f995cb2b73b6e194 Reviewed-by: Martin Smith <martin.smith@digia.com>
-rw-r--r--src/tools/qdoc/qmlvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qdoc/qmlvisitor.cpp b/src/tools/qdoc/qmlvisitor.cpp
index e0bee2e664..63a69ee0af 100644
--- a/src/tools/qdoc/qmlvisitor.cpp
+++ b/src/tools/qdoc/qmlvisitor.cpp
@@ -344,7 +344,7 @@ void QmlDocVisitor::applyMetacommands(QQmlJS::AST::SourceLocation,
else if ((command == COMMAND_INGROUP) && !args.isEmpty()) {
ArgList::ConstIterator argsIter = args.constBegin();
while (argsIter != args.constEnd()) {
- DocNode* dn = QDocDatabase::qdocDB()->addToGroup(argsIter->first, node);
+ QDocDatabase::qdocDB()->addToGroup(argsIter->first, node);
++argsIter;
}
}