aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-10 22:27:38 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-12-10 22:27:38 +0000
commita012f01922c54f961a92993f501c0dca6d9b08f6 (patch)
tree29f591d5a8e79bf5ba8fc3f66c31dff1c0a281e4
parent60367f5a047b79e4481bbbb4dd7e75d059a3296b (diff)
downloadperl-URPM-a012f01922c54f961a92993f501c0dca6d9b08f6.tar
perl-URPM-a012f01922c54f961a92993f501c0dca6d9b08f6.tar.gz
perl-URPM-a012f01922c54f961a92993f501c0dca6d9b08f6.tar.bz2
perl-URPM-a012f01922c54f961a92993f501c0dca6d9b08f6.tar.xz
perl-URPM-a012f01922c54f961a92993f501c0dca6d9b08f6.zip
always initialize 'ok'
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 2978fea..f0d8357 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3524,7 +3524,7 @@ Urpm_parse_hdlist__XS(urpm, filename, ...)
gi = rpmgiFree(gi);
ts = rpmtsFree(ts);
- int ok;
+ int ok = 1;
if (pid) {
kill(pid, SIGTERM);