summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckExpression.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-07-13 17:35:17 +0200
committerAlessandro Portale <aportale@trolltech.com>2009-07-13 17:35:17 +0200
commitd3f9757916d5ba10eac63ef6c42611924999c3b0 (patch)
treed3da900526161354a6c1ea76f9e66247897977d3 /src/shared/cplusplus/CheckExpression.cpp
parentf9ed6f18bce732a0b440b40cb1cb930d779660ff (diff)
downloadqt-creator-d3f9757916d5ba10eac63ef6c42611924999c3b0.tar.gz
Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
Diffstat (limited to 'src/shared/cplusplus/CheckExpression.cpp')
-rw-r--r--src/shared/cplusplus/CheckExpression.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp
index 60bc3654ba..25cfe8ba43 100644
--- a/src/shared/cplusplus/CheckExpression.cpp
+++ b/src/shared/cplusplus/CheckExpression.cpp
@@ -213,7 +213,7 @@ bool CheckExpression::visit(NewExpressionAST *ast)
if (ast->new_placement) {
for (ExpressionListAST *it = ast->new_placement->expression_list; it; it = it->next) {
FullySpecifiedType exprTy = semantic()->check(it->expression, _scope);
- Q_UNUSED(exprTy);
+ Q_UNUSED(exprTy)
}
}
@@ -221,18 +221,18 @@ bool CheckExpression::visit(NewExpressionAST *ast)
if (ast->new_type_id) {
FullySpecifiedType ty = semantic()->check(ast->new_type_id->type_specifier, _scope);
- Q_UNUSED(ty);
+ Q_UNUSED(ty)
for (NewArrayDeclaratorAST *it = ast->new_type_id->new_array_declarators; it; it = it->next) {
FullySpecifiedType exprTy = semantic()->check(it->expression, _scope);
- Q_UNUSED(exprTy);
+ Q_UNUSED(exprTy)
}
}
// ### process new-initializer
if (ast->new_initializer) {
FullySpecifiedType exprTy = semantic()->check(ast->new_initializer->expression, _scope);
- Q_UNUSED(exprTy);
+ Q_UNUSED(exprTy)
}
return false;