aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-01-29 17:56:44 +0000
committerThierry Vignaud <tv@mageia.org>2013-01-29 17:56:44 +0000
commit2a99010e7c5af7dbb770fa5c348285f451007f16 (patch)
tree0a5eec938dc33dced9a14dfcf73e6fc226d17258
parent86e74bade6a760d03aa46ee2f17c795ab620ab15 (diff)
downloadperl-URPM-2a99010e7c5af7dbb770fa5c348285f451007f16.tar
perl-URPM-2a99010e7c5af7dbb770fa5c348285f451007f16.tar.gz
perl-URPM-2a99010e7c5af7dbb770fa5c348285f451007f16.tar.bz2
perl-URPM-2a99010e7c5af7dbb770fa5c348285f451007f16.tar.xz
perl-URPM-2a99010e7c5af7dbb770fa5c348285f451007f16.zip
(update_provides) clean unused variable
-rw-r--r--URPM.xs2
1 files changed, 0 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 6889eb1..56923d1 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -861,8 +861,6 @@ update_provides(const URPM__Package pkg, HV *provides) {
/* update all provides */
if ((s = pkg->provides) != NULL && *s != 0) {
- char *es;
-
ps = strchr(s, '@');
while(ps != NULL) {
*ps = 0; es = strchr(s, '['); if (!es) es = strchr(s, ' '); *ps = '@';