projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0232226
)
Eliminate unused variable
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 7 Sep 2009 14:39:39 +0000
(17:39 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 7 Sep 2009 14:39:39 +0000
(17:39 +0300)
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
74120f6
..
440933a
100644
(file)
--- 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;