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:
37f739c
)
Eliminate yet another unused variable in header code
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 9 Sep 2009 08:38:28 +0000
(11:38 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 9 Sep 2009 08:38:28 +0000
(11:38 +0300)
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
f437c06
..
9602976
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-790,7
+790,6
@@
Header headerLoad(void * uh)
unsigned char * dataEnd;
indexEntry entry;
int rdlen;
unsigned char * dataEnd;
indexEntry entry;
int rdlen;
- int i;
/* Sanity checks on header intro. */
if (hdrchkTags(il) || hdrchkData(dl))
/* Sanity checks on header intro. */
if (hdrchkTags(il) || hdrchkData(dl))
@@
-812,7
+811,6
@@
Header headerLoad(void * uh)
h = headerLink(h);
entry = h->index;
h = headerLink(h);
entry = h->index;
- i = 0;
if (!(htonl(pe->tag) < HEADER_I18NTABLE)) {
h->flags |= HEADERFLAG_LEGACY;
entry->info.type = REGION_TAG_TYPE;
if (!(htonl(pe->tag) < HEADER_I18NTABLE)) {
h->flags |= HEADERFLAG_LEGACY;
entry->info.type = REGION_TAG_TYPE;