Fix warning about unused variable in qdoc

codeparser.cpp:245:18: error: unused variable ‘dn’ [-Werror=unused-variable]

Change-Id: Id271b3829ba3278e80d4e79746db7aabfabd751a
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Thiago Macieira 2012-12-21 19:11:58 -08:00 committed by The Qt Project
parent 8b2728ec38
commit 96b48ee0cb

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);