aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-03 22:16:32 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-03 22:16:32 +0000
commitb63123ae911969db1ca64ef804803936b3bbf62d (patch)
tree5f80f8f6c8e231b8f28bd440c6d76da3e878be9d
parent2a99010e7c5af7dbb770fa5c348285f451007f16 (diff)
downloadperl-URPM-b63123ae911969db1ca64ef804803936b3bbf62d.tar
perl-URPM-b63123ae911969db1ca64ef804803936b3bbf62d.tar.gz
perl-URPM-b63123ae911969db1ca64ef804803936b3bbf62d.tar.bz2
perl-URPM-b63123ae911969db1ca64ef804803936b3bbf62d.tar.xz
perl-URPM-b63123ae911969db1ca64ef804803936b3bbf62d.zip
simplify style
-rw-r--r--URPM.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 56923d1..3d43a34 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -430,9 +430,8 @@ xpush_simple_list_str(const Header header, rpmTag tag_name) {
size = rpmtdCount(&list);
EXTEND(SP, size);
- while ((val = rpmtdNextString(&list))) {
+ while ((val = rpmtdNextString(&list)))
mPUSHs(newSVpv(val, 0));
- }
rpmtdFreeData(&list);
PUTBACK;
return size;