gimplify.c (get_name): Remove extraneous break.

* gimplify.c (get_name): Remove extraneous break.
	(gimplify_omp_for): Initialise ret with GS_OK.

From-SVN: r118057
This commit is contained in:
Ben Elliston 2006-10-26 01:56:19 +00:00 committed by Ben Elliston
parent 1fdeec2c59
commit 0da67a3234
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-10-26 Ben Elliston <bje@au.ibm.com>
* gimplify.c (get_name): Remove extraneous break.
(gimplify_omp_for): Initialise ret with GS_OK.
2006-10-25 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.

View File

@ -510,7 +510,6 @@ get_name (tree t)
{
case ADDR_EXPR:
return get_name (TREE_OPERAND (stripped_decl, 0));
break;
default:
return NULL;
}
@ -4872,7 +4871,7 @@ static enum gimplify_status
gimplify_omp_for (tree *expr_p, tree *pre_p)
{
tree for_stmt, decl, t;
enum gimplify_status ret = 0;
enum gimplify_status ret = GS_OK;
for_stmt = *expr_p;