From aac457f6ec226c216bbfd36189699d73aee0b7f3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 15 Jun 2012 17:38:07 +0000 Subject: (Db_traverse_tag) simplify --- URPM.xs | 4 +--- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.1