aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-05 01:14:39 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-05 01:14:39 +0000
commit74d1e1590d9a6e9625f2a4c66e203e93f0258eed (patch)
tree11bfc43ff1a1dc892e809f6e2e678487c3b797b2 /URPM.xs
parentb71129c1abf9b32efabb169af7781b29bbff8596 (diff)
downloadperl-URPM-74d1e1590d9a6e9625f2a4c66e203e93f0258eed.tar
perl-URPM-74d1e1590d9a6e9625f2a4c66e203e93f0258eed.tar.gz
perl-URPM-74d1e1590d9a6e9625f2a4c66e203e93f0258eed.tar.bz2
perl-URPM-74d1e1590d9a6e9625f2a4c66e203e93f0258eed.tar.xz
perl-URPM-74d1e1590d9a6e9625f2a4c66e203e93f0258eed.zip
move declaration within nesting
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 3cf1dda..57dd223 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1099,7 +1099,6 @@ update_provides(URPM__Package pkg, HV *provides) {
if (pkg->h) {
int len;
HE_t he = memset(alloca(sizeof(*he)), 0, sizeof(*he));
- rpmsenseFlags *flags = NULL;
/* examine requires for files which need to be marked in provides */
he->tag = RPMTAG_REQUIRENAME;
@@ -1115,6 +1114,7 @@ update_provides(URPM__Package pkg, HV *provides) {
he->tag = RPMTAG_PROVIDENAME;
if (headerGet(pkg->h, he, 0)) {
const char **list = he->p.argv;
+ rpmsenseFlags *flags = NULL;
int count = he->c;
he->tag = RPMTAG_PROVIDEFLAGS;