Eliminate yet another unused variable in header code
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 9 Sep 2009 08:38:28 +0000 (11:38 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 9 Sep 2009 08:38:28 +0000 (11:38 +0300)
lib/header.c

index f437c06..9602976 100644 (file)
@@ -790,7 +790,6 @@ Header headerLoad(void * uh)
     unsigned char * dataEnd;
     indexEntry entry; 
     int rdlen;
-    int i;
 
     /* Sanity checks on header intro. */
     if (hdrchkTags(il) || hdrchkData(dl))
@@ -812,7 +811,6 @@ Header headerLoad(void * uh)
     h = headerLink(h);
 
     entry = h->index;
-    i = 0;
     if (!(htonl(pe->tag) < HEADER_I18NTABLE)) {
        h->flags |= HEADERFLAG_LEGACY;
        entry->info.type = REGION_TAG_TYPE;