diff options
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 3fb8c00bb15..79d060a4b04 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 == *entp) + if (last == NULL) { // This is only true the first time through, when the entry list // is empty. |