diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-05-05 01:14:39 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-05-05 01:14:39 +0000 |
commit | 74d1e1590d9a6e9625f2a4c66e203e93f0258eed (patch) | |
tree | 11bfc43ff1a1dc892e809f6e2e678487c3b797b2 /URPM.xs | |
parent | b71129c1abf9b32efabb169af7781b29bbff8596 (diff) | |
download | perl-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.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |