diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-02-03 22:16:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-02-03 22:16:32 +0000 |
commit | b63123ae911969db1ca64ef804803936b3bbf62d (patch) | |
tree | 5f80f8f6c8e231b8f28bd440c6d76da3e878be9d | |
parent | 2a99010e7c5af7dbb770fa5c348285f451007f16 (diff) | |
download | perl-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.xs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |