aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs6
1 files changed, 2 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index 0b3f9ad..a64f174 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -193,10 +193,8 @@ get_nvra(Header h) {
static int
do_rpmEVRcompare(const char *a, const char *b) {
int compare;
- EVR_t lEVR,
- rEVR;
- lEVR = rpmEVRnew(RPMSENSE_EQUAL, 0),
- rEVR = rpmEVRnew(RPMSENSE_EQUAL, 0);
+ EVR_t lEVR = rpmEVRnew(RPMSENSE_EQUAL, 0),
+ rEVR = rpmEVRnew(RPMSENSE_EQUAL, 0);
rpmEVRparse(a, lEVR);
rpmEVRparse(b, rEVR);
compare = rpmEVRcompare(lEVR, rEVR);