Commit b4c8c021 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed warning when passing the declaringClass.

parent 7b51b119
......@@ -3008,7 +3008,7 @@ bool Parser::parseCondition(ExpressionAST *&node)
SpecifierListAST *type_specifier = 0;
if (parseTypeSpecifier(type_specifier)) {
DeclaratorAST *declarator = 0;
if (parseInitDeclarator(declarator, type_specifier, /*declaringClass=*/false)) {
if (parseInitDeclarator(declarator, type_specifier, /*declaringClass=*/ 0)) {
if (declarator->initializer && declarator->equal_token) {
ConditionAST *ast = new (_pool) ConditionAST;
ast->type_specifier_list = type_specifier;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment