Commit ede7acf1 by Volker Reichelt Committed by Volker Reichelt

call.c (add_builtin_candidates): Remove superfluous return.

	* call.c (add_builtin_candidates): Remove superfluous return.
	* name-lookup.c (do_toplevel_using_decl): Likewise.
	* parser.c (cp_parser_type_specifier_seq): Likewise.
	(cp_parser_save_default_args): Likewise.

From-SVN: r110022
parent 0174997a
2006-01-20 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* call.c (add_builtin_candidates): Remove superfluous return.
* name-lookup.c (do_toplevel_using_decl): Likewise.
* parser.c (cp_parser_type_specifier_seq): Likewise.
(cp_parser_save_default_args): Likewise.
2006-01-20 Dirk Mueller <dmueller@suse.com> 2006-01-20 Dirk Mueller <dmueller@suse.com>
PR c++/5520 PR c++/5520
......
...@@ -2161,8 +2161,6 @@ add_builtin_candidates (struct z_candidate **candidates, enum tree_code code, ...@@ -2161,8 +2161,6 @@ add_builtin_candidates (struct z_candidate **candidates, enum tree_code code,
(candidates, code, code2, fnname, TREE_VALUE (types[0]), (candidates, code, code2, fnname, TREE_VALUE (types[0]),
NULL_TREE, args, argtypes, flags); NULL_TREE, args, argtypes, flags);
} }
return;
} }
......
...@@ -3241,7 +3241,6 @@ do_toplevel_using_decl (tree decl, tree scope, tree name) ...@@ -3241,7 +3241,6 @@ do_toplevel_using_decl (tree decl, tree scope, tree name)
binding->value = newval; binding->value = newval;
if (newtype) if (newtype)
binding->type = newtype; binding->type = newtype;
return;
} }
/* Process a using-directive. */ /* Process a using-directive. */
......
...@@ -11893,8 +11893,6 @@ cp_parser_type_specifier_seq (cp_parser* parser, ...@@ -11893,8 +11893,6 @@ cp_parser_type_specifier_seq (cp_parser* parser,
if (is_condition && !is_cv_qualifier) if (is_condition && !is_cv_qualifier)
flags |= CP_PARSER_FLAGS_NO_USER_DEFINED_TYPES; flags |= CP_PARSER_FLAGS_NO_USER_DEFINED_TYPES;
} }
return;
} }
/* Parse a parameter-declaration-clause. /* Parse a parameter-declaration-clause.
...@@ -15766,7 +15764,6 @@ cp_parser_save_default_args (cp_parser* parser, tree decl) ...@@ -15766,7 +15764,6 @@ cp_parser_save_default_args (cp_parser* parser, tree decl)
TREE_PURPOSE (parser->unparsed_functions_queues)); TREE_PURPOSE (parser->unparsed_functions_queues));
break; break;
} }
return;
} }
/* FN is a FUNCTION_DECL which may contains a parameter with an /* FN is a FUNCTION_DECL which may contains a parameter with an
......
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