diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 12:45:06 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 12:45:06 +0200 |
commit | 84ee0a10ea3e9409c10ead76465d19e8d3f4c7ce (patch) | |
tree | b33e02aaa6854a8c4913e8f3f2ba4d8c48ca57c4 /lib/legacy.c | |
parent | 3baf0da79f32879a3a14d12091dcf52da3513ee4 (diff) | |
download | rpm-84ee0a10ea3e9409c10ead76465d19e8d3f4c7ce.tar.gz rpm-84ee0a10ea3e9409c10ead76465d19e8d3f4c7ce.tar.bz2 rpm-84ee0a10ea3e9409c10ead76465d19e8d3f4c7ce.zip |
Remove unused xx error code variable
- headerDel() only fails if the tag doesn't exist in the header, which
is not an error here. Nor could we return an error if it was...
Diffstat (limited to 'lib/legacy.c')
-rw-r--r-- | lib/legacy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/legacy.c b/lib/legacy.c index df7911e8b..422c2b0e8 100644 --- a/lib/legacy.c +++ b/lib/legacy.c @@ -26,7 +26,7 @@ static void compressFilelist(Header h) const char ** baseNames; uint32_t * dirIndexes; rpm_count_t count; - int xx, i; + int i; int dirIndex = -1; /* @@ -36,7 +36,7 @@ static void compressFilelist(Header h) */ if (headerIsEntry(h, RPMTAG_DIRNAMES)) { - xx = headerDel(h, RPMTAG_OLDFILENAMES); + headerDel(h, RPMTAG_OLDFILENAMES); return; /* Already converted. */ } @@ -112,7 +112,7 @@ exit: free(baseNames); free(dirIndexes); - xx = headerDel(h, RPMTAG_OLDFILENAMES); + headerDel(h, RPMTAG_OLDFILENAMES); } static void expandFilelist(Header h) |