diff options
author | Miles Bader <miles@gnu.org> | 1997-09-19 19:11:51 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-09-19 19:11:51 +0000 |
commit | 19df5d5820d4f79739914b28fe0175541dcfa364 (patch) | |
tree | 31f2530c5d5c0c3a80352194de844ae47d3d474b /isofs/rr.c | |
parent | a80a71366514ae8abeaff12fd93eeebcb1c6232f (diff) |
(rrip_work):
ER->lenid should be ER->len_id.
Remove unused variable C.
Diffstat (limited to 'isofs/rr.c')
-rw-r--r-- | isofs/rr.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -187,7 +187,6 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr, { /* Extension Reference */ struct su_er *er = body; - char *c; /* Make sure the ER field is valid */ if ((void *) er->more + er->len_id + er->len_des + er->len_src @@ -196,12 +195,12 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr, /* Check for rock-ridge */ if (er->ext_ver == ROCK_VERS - && !memcmp (ROCK_ID, er->more, er->lenid)) + && !memcmp (ROCK_ID, er->more, er->len_id)) rock_live = 1; /* Check for Gnuext */ else if (er->ext_ver == GNUEXT_VERS - && !memcmp (GNUEXT_ID, er->more, er->lenid)) + && !memcmp (GNUEXT_ID, er->more, er->len_id)) gnuext_live = 1; } |