From 3466b2921e8c718007b5423f15d37183e32b01bd Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Fri, 10 Jan 2003 22:05:02 +0000 Subject: [PATCH] parser.c (cp_parser_late_parsing_for_member): Don't cast to void. * parser.c (cp_parser_late_parsing_for_member): Don't cast to void. (cp_parser_late_parsing_default_args): Likewise. From-SVN: r61170 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/parser.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 382e26a8ae1..0c73ca27836 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-01-10 Geoffrey Keating + + * parser.c (cp_parser_late_parsing_for_member): Don't cast to void. + (cp_parser_late_parsing_default_args): Likewise. + 2003-01-10 Nathanael Nerode * cfns.gperf: ANSIfy function declarations. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index d626939e281..7c7d49b7c4e 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -14469,7 +14469,7 @@ cp_parser_late_parsing_for_member (parser, member_function) /* Set the current source position to be the location of the first token in the saved inline body. */ - (void) cp_lexer_peek_token (parser->lexer); + cp_lexer_peek_token (parser->lexer); /* Let the front end know that we going to be defining this function. */ @@ -14522,7 +14522,7 @@ cp_parser_late_parsing_default_args (cp_parser *parser, tree fn) /* Set the current source position to be the location of the first token in the default argument. */ - (void) cp_lexer_peek_token (parser->lexer); + cp_lexer_peek_token (parser->lexer); /* Local variable names (and the `this' keyword) may not appear in a default argument. */ -- 2.30.2