diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 13:38:34 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 13:38:34 +0200 |
commit | 9db2544707944d3a69c0f472bcf00be45edc33ee (patch) | |
tree | c20ee094203555997950406a2a2607316681aa08 /lib | |
parent | 79a81f9bea4b0982e1966b47def92793ebddf10b (diff) | |
download | librpm-tizen-9db2544707944d3a69c0f472bcf00be45edc33ee.tar.gz librpm-tizen-9db2544707944d3a69c0f472bcf00be45edc33ee.tar.bz2 librpm-tizen-9db2544707944d3a69c0f472bcf00be45edc33ee.zip |
Remove unused return code variable
- None of the error exits from rpmdbSetIteratorRE() apply to the
use in rpmtsInitIterator() so there's no point storing or checking
its return
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index d782ecfe7..6982303cb 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -161,7 +161,6 @@ rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, rpmdbMatchIterator mi = NULL; const char * arch = NULL; char *tmp = NULL; - int xx; if (ts == NULL) return NULL; @@ -237,7 +236,7 @@ rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, /* Select specified arch only. */ if (arch != NULL) - xx = rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_DEFAULT, arch); + rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_DEFAULT, arch); exit: free(tmp); |