forked from qt-creator/qt-creator
--warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user