Avoid double iteration on 'rpm -e' now that iterator count works
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 6 Sep 2012 07:48:51 +0000 (10:48 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 6 Sep 2012 07:48:51 +0000 (10:48 +0300)
commit1cbc2a14f2731a55e041253bcd9322407a9fd258
tree3c9489f74279b65e95aabf08b3315d758ac44828
parentfddfee17c3c4e19269665800d557d3452cbde162
Avoid double iteration on 'rpm -e' now that iterator count works

- While harmless, having to count on one and act on another iteration
  gets expensive when there are lots of labels specified. Especially
  as the iterator initialization can already load the same headers
  multiple times, sigh...
lib/rpminstall.c