From: Geoffrey Keating Date: Fri, 10 Jan 2003 22:05:02 +0000 (+0000) Subject: parser.c (cp_parser_late_parsing_for_member): Don't cast to void. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3466b2921e8c718007b5423f15d37183e32b01bd;p=gcc.git 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 --- 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. */