From: Kazu Hirata Date: Wed, 28 Jan 2004 21:07:09 +0000 (+0000) Subject: * genrecog.c (write_node): Remove a useless local variable. X-Git-Tag: releases/gcc-4.0.0~10603 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be2c39f82c65397954ff5f4e83da6b87814dbc48;p=thirdparty%2Fgcc.git * genrecog.c (write_node): Remove a useless local variable. From-SVN: r76807 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f987470bb7e8..594c802eef9b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-01-28 Kazu Hirata + + * genrecog.c (write_node): Remove a useless local variable. + 2004-01-28 Ian Lance Taylor * Makefile.in (options.c options.h): Use stamp file s-options to diff --git a/gcc/genrecog.c b/gcc/genrecog.c index e0a225a870a1..dc756fe76441 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -2152,11 +2152,8 @@ write_node (struct decision *p, int depth, while ((test = test->next) != NULL) { - int uncond2; - last_test = test; - uncond2 = is_unconditional (test, subroutine_type); - if (uncond2 != 0) + if (is_unconditional (test, subroutine_type)) break; printf ("\n && ");