diff options
author | Anthony Green <green@cygnus.com> | 2000-02-20 04:16:42 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-02-20 04:16:42 +0000 |
commit | 7b227604e7a38ad536b1177e1f2d9d05b7e349fa (patch) | |
tree | 184d48a7eaba3f708963b848ed68a119006766dd /gcc/java/jcf-depend.c | |
parent | 64e92991e7e555ac17dd63567098276bd5dd41c2 (diff) | |
download | gcc-7b227604e7a38ad536b1177e1f2d9d05b7e349fa.zip gcc-7b227604e7a38ad536b1177e1f2d9d05b7e349fa.tar.gz gcc-7b227604e7a38ad536b1177e1f2d9d05b7e349fa.tar.bz2 |
* jcf-depend.c (add_entry): Fix test for first list entry.
From-SVN: r32072
Diffstat (limited to 'gcc/java/jcf-depend.c')
-rw-r--r-- | gcc/java/jcf-depend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-depend.c b/gcc/java/jcf-depend.c index 53bd17b..3fb8c00 100644 --- a/gcc/java/jcf-depend.c +++ b/gcc/java/jcf-depend.c @@ -94,7 +94,7 @@ add_entry (entp, name) ent->file = xstrdup (name); ent->next = NULL; - if (last == ent) + if (last == *entp) { // This is only true the first time through, when the entry list // is empty. |