qdoc: Fix warnings about unused variables.

Change-Id: Ic75518aaea3a080aee656637335f358304191b94
Reviewed-by: Martin Smith <martin.smith@digia.com>
bb10
Friedemann Kleint 2012-12-11 11:54:48 +01:00 committed by The Qt Project
parent 4a9c3b2433
commit a380c108a6
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ void CodeParser::processCommonMetaCommand(const Location& location,
else if ((command == COMMAND_INGROUP) || (command == COMMAND_INPUBLICGROUP)) {
// Note: \ingroup and \inpublicgroup are now the same.
// Not that they were ever different.
DocNode* dn = qdb_->addToGroup(arg.first, node);
qdb_->addToGroup(arg.first, node);
}
else if (command == COMMAND_INMODULE) {
qdb_->addToModule(arg.first,node);

View File

@ -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;
}
}