diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-01-28 21:07:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-01-28 21:07:09 +0000 |
commit | be2c39f82c65397954ff5f4e83da6b87814dbc48 (patch) | |
tree | f144fede8aa984eb96bbad9fd13562a4aa69f330 /gcc | |
parent | de81ffd4c7ab97a0019857b0d9b7dd7f7721c583 (diff) | |
download | gcc-be2c39f82c65397954ff5f4e83da6b87814dbc48.zip gcc-be2c39f82c65397954ff5f4e83da6b87814dbc48.tar.gz gcc-be2c39f82c65397954ff5f4e83da6b87814dbc48.tar.bz2 |
* genrecog.c (write_node): Remove a useless local variable.
From-SVN: r76807
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/genrecog.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f987470..594c802 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-01-28 Kazu Hirata <kazu@cs.umass.edu> + + * genrecog.c (write_node): Remove a useless local variable. + 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com> * Makefile.in (options.c options.h): Use stamp file s-options to diff --git a/gcc/genrecog.c b/gcc/genrecog.c index e0a225a..dc756fe 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 && "); |