forked from qt-creator/qt-creator
Avoid warning on empty expressions
For some reason, Q_UNUSED includes already a semicolon, adding one on the user side creates an additional empty statement. Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -129,17 +129,17 @@ void OpenDiagramElementVisitor::visitDConnection(const qmt::DConnection *connect
|
||||
|
||||
void OpenDiagramElementVisitor::visitDAnnotation(const qmt::DAnnotation *annotation)
|
||||
{
|
||||
Q_UNUSED(annotation);
|
||||
Q_UNUSED(annotation)
|
||||
}
|
||||
|
||||
void OpenDiagramElementVisitor::visitDBoundary(const qmt::DBoundary *boundary)
|
||||
{
|
||||
Q_UNUSED(boundary);
|
||||
Q_UNUSED(boundary)
|
||||
}
|
||||
|
||||
void OpenDiagramElementVisitor::visitDSwimlane(const qmt::DSwimlane *swimlane)
|
||||
{
|
||||
Q_UNUSED(swimlane);
|
||||
Q_UNUSED(swimlane)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::setElementTasks(ElementTasks *elementTasks)
|
||||
@@ -149,12 +149,12 @@ void OpenModelElementVisitor::setElementTasks(ElementTasks *elementTasks)
|
||||
|
||||
void OpenModelElementVisitor::visitMElement(const qmt::MElement *element)
|
||||
{
|
||||
Q_UNUSED(element);
|
||||
Q_UNUSED(element)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::visitMObject(const qmt::MObject *object)
|
||||
{
|
||||
Q_UNUSED(object);
|
||||
Q_UNUSED(object)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::visitMPackage(const qmt::MPackage *package)
|
||||
@@ -192,27 +192,27 @@ void OpenModelElementVisitor::visitMItem(const qmt::MItem *item)
|
||||
|
||||
void OpenModelElementVisitor::visitMRelation(const qmt::MRelation *relation)
|
||||
{
|
||||
Q_UNUSED(relation);
|
||||
Q_UNUSED(relation)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::visitMDependency(const qmt::MDependency *dependency)
|
||||
{
|
||||
Q_UNUSED(dependency);
|
||||
Q_UNUSED(dependency)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::visitMInheritance(const qmt::MInheritance *inheritance)
|
||||
{
|
||||
Q_UNUSED(inheritance);
|
||||
Q_UNUSED(inheritance)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::visitMAssociation(const qmt::MAssociation *association)
|
||||
{
|
||||
Q_UNUSED(association);
|
||||
Q_UNUSED(association)
|
||||
}
|
||||
|
||||
void OpenModelElementVisitor::visitMConnection(const qmt::MConnection *connection)
|
||||
{
|
||||
Q_UNUSED(connection);
|
||||
Q_UNUSED(connection)
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user