summaryrefslogtreecommitdiff
path: root/isofs/rr.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-09-19 19:11:51 +0000
committerMiles Bader <miles@gnu.org>1997-09-19 19:11:51 +0000
commit19df5d5820d4f79739914b28fe0175541dcfa364 (patch)
tree31f2530c5d5c0c3a80352194de844ae47d3d474b /isofs/rr.c
parenta80a71366514ae8abeaff12fd93eeebcb1c6232f (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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/isofs/rr.c b/isofs/rr.c
index f7b7f53a..11047198 100644
--- a/isofs/rr.c
+++ b/isofs/rr.c
@@ -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;
}