aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs4
1 files changed, 1 insertions, 3 deletions
diff --git a/URPM.xs b/URPM.xs
index a1d29d4..b856ec2 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2568,9 +2568,7 @@ Db_traverse_tag(db,tag,names,callback)
AV* names_av = (AV*)SvRV(names);
int len = av_len(names_av);
int i;
- rpmTag rpmtag;
-
- rpmtag = rpmtag_from_string(tag);
+ rpmTag rpmtag = rpmtag_from_string(tag);
for (i = 0; i <= len; ++i) {
STRLEN str_len;