From 19df5d5820d4f79739914b28fe0175541dcfa364 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 19 Sep 1997 19:11:51 +0000 Subject: (rrip_work): ER->lenid should be ER->len_id. Remove unused variable C. --- isofs/rr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'isofs') 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; } -- cgit v1.2.3