* jcf-depend.c (add_entry): Fix test for first list entry.

From-SVN: r32072
This commit is contained in:
Anthony Green 2000-02-20 04:16:42 +00:00 committed by Anthony Green
parent 64e92991e7
commit 7b227604e7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-02-19 Anthony Green <green@cygnus.com>
* jcf-depend.c (add_entry): Fix test for first list entry.
Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.

View File

@ -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.