From 2ebaf3fe5b015b05e5acdabc0c12458b5f509832 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Wed, 11 Aug 2010 15:48:21 +0200 Subject: Get rid of the #warning directives. --- src/shared/cplusplus/CheckExpression.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared/cplusplus/CheckExpression.cpp') diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp index 544dc95cea..1f402dca55 100644 --- a/src/shared/cplusplus/CheckExpression.cpp +++ b/src/shared/cplusplus/CheckExpression.cpp @@ -312,8 +312,10 @@ bool CheckExpression::visit(UnaryExpressionAST *ast) bool CheckExpression::visit(QtMethodAST *ast) { + (void) ast; + // ### port this code +#if 0 const Name *name = 0; -#warning robe set a valid scope Scope *dummy = 0; FullySpecifiedType methTy = semantic()->check(ast->declarator, FullySpecifiedType(), dummy, &name); @@ -328,6 +330,7 @@ bool CheckExpression::visit(QtMethodAST *ast) "argument should be anonymous"); } } +#endif return false; } -- cgit v1.2.1