aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-depend.c
diff options
context:
space:
mode:
authorAnthony Green <green@cygnus.com>2000-02-20 04:16:42 +0000
committerAnthony Green <green@gcc.gnu.org>2000-02-20 04:16:42 +0000
commit7b227604e7a38ad536b1177e1f2d9d05b7e349fa (patch)
tree184d48a7eaba3f708963b848ed68a119006766dd /gcc/java/jcf-depend.c
parent64e92991e7e555ac17dd63567098276bd5dd41c2 (diff)
downloadgcc-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.c2
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.