From 0da67a3234a3bf9c2fc3458ea6a1861303f1364d Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 26 Oct 2006 01:56:19 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/gimplify.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 715481dcaead..f467dce03d45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-10-26 Ben Elliston + + * gimplify.c (get_name): Remove extraneous break. + (gimplify_omp_for): Initialise ret with GS_OK. + 2006-10-25 Steve Ellcey * config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index ab11a832fdfc..41486f150673 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -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; -- 2.43.5