Clean up rpmdsNewDNEVR() a bit
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 03:34:36 +0000 (06:34 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 05:08:34 +0000 (08:08 +0300)
commit25bef90870b883b66e8d914072b77585fab3b8a1
treed8a75afd8c52de6935db9cfcc0ce6698db4f9736
parent09373ec03a3537006c4252ff732273d4506e44d5
Clean up rpmdsNewDNEVR() a bit

- Eliminate numerous repeated direct accesses to ds N, EVR and Flags,
  instead grab them into local variables at entry. This also makes
  the function safe illegal iterator values (ie calling when iteration
  not started), previously the bounds were not checked.
lib/rpmds.c