diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-12-14 09:26:02 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-12-18 17:52:57 +0200 |
commit | 7f16ecfe412b9eac0dc18b1a63622999fca0bdc2 (patch) | |
tree | 26540ae9a1296495f66c77bc9821c41e89d695aa /lib | |
parent | 3be08c3c39c4ee13abd3dfa6b8b80c0035ae9243 (diff) | |
download | rpm-7f16ecfe412b9eac0dc18b1a63622999fca0bdc2.tar.gz rpm-7f16ecfe412b9eac0dc18b1a63622999fca0bdc2.tar.bz2 rpm-7f16ecfe412b9eac0dc18b1a63622999fca0bdc2.zip |
Dead code removal
- Nothing is setting "arch" here anymore, this should've been removed in
commit fddfee17c3c4e19269665800d557d3452cbde162 already
(cherry picked from commit 1c3f966903743ea571a23e1af08a618b4179c5cb)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmts.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index b5053713c..3463ce35c 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -159,7 +159,6 @@ rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, const void * keyp, size_t keylen) { rpmdbMatchIterator mi = NULL; - const char * arch = NULL; char *tmp = NULL; if (ts == NULL) @@ -227,10 +226,6 @@ rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag, if (mi && !(ts->vsflags & RPMVSF_NOHDRCHK)) (void) rpmdbSetHdrChk(mi, ts, headerCheck); - /* Select specified arch only. */ - if (arch != NULL) - rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_DEFAULT, arch); - exit: free(tmp); |