diff options
Diffstat (limited to 'src/shared/cplusplus')
-rw-r--r-- | src/shared/cplusplus/CheckExpression.cpp | 2 | ||||
-rw-r--r-- | src/shared/cplusplus/Scope.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp index a2b6c68677..dcb592bf0b 100644 --- a/src/shared/cplusplus/CheckExpression.cpp +++ b/src/shared/cplusplus/CheckExpression.cpp @@ -212,7 +212,7 @@ bool CheckExpression::visit(TemplateIdAST *ast) return false; } -bool CheckExpression::visit(NewExpressionAST *ast) +bool CheckExpression::visit(NewExpressionAST *) { // ### FIXME //FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope); diff --git a/src/shared/cplusplus/Scope.cpp b/src/shared/cplusplus/Scope.cpp index 200406b6bb..9addf690c6 100644 --- a/src/shared/cplusplus/Scope.cpp +++ b/src/shared/cplusplus/Scope.cpp @@ -324,6 +324,9 @@ void Scope::addUse(unsigned sourceOffset, Name *name) else lastVisibleSymbol = _symbols[_symbolCount]; _uses[_useCount].init(sourceOffset, name, lastVisibleSymbol); +#else + (void) sourceOffset; + (void) name; #endif } |