diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 17:39:39 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-07 17:39:39 +0300 |
commit | c50851aa990aab57f9906d29555fb6443571a318 (patch) | |
tree | ccb4818f02a8f32cc39f84f66adc0e4b3e55e207 /lib/header.c | |
parent | 0232226ab1a5be31a0fdb5e0cdeb65e2430404df (diff) | |
download | rpm-c50851aa990aab57f9906d29555fb6443571a318.tar.gz rpm-c50851aa990aab57f9906d29555fb6443571a318.tar.bz2 rpm-c50851aa990aab57f9906d29555fb6443571a318.zip |
Eliminate unused variable
Diffstat (limited to 'lib/header.c')
-rw-r--r-- | lib/header.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/header.c b/lib/header.c index 74120f6f1..440933a52 100644 --- a/lib/header.c +++ b/lib/header.c @@ -471,7 +471,6 @@ static void * doHeaderUnload(Header h, int i; int drlen, ndribbles; int driplen, ndrips; - int legacy = 0; /* Sort entries by (offset,tag). */ headerUnsort(h); @@ -581,7 +580,6 @@ static void * doHeaderUnload(Header h, if (i == 0 && (h->flags & HEADERFLAG_LEGACY)) { int32_t stei[4]; - legacy = 1; memcpy(pe+1, src, rdl); memcpy(te, src + rdl, rdlen); te += rdlen; |