aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-05-04 10:54:40 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-05-04 10:54:40 +0100
commit5c9eb541e1e8ea1c943fa0d762251265eabc4041 (patch)
tree6fe92e9553b4dc655fc2aa7a61bea37bce7375aa
parent1e5f02d6345e17a4d918be74da9106c79032a730 (diff)
downloadperl-Hal-Cdroms-5c9eb541e1e8ea1c943fa0d762251265eabc4041.tar
perl-Hal-Cdroms-5c9eb541e1e8ea1c943fa0d762251265eabc4041.tar.gz
perl-Hal-Cdroms-5c9eb541e1e8ea1c943fa0d762251265eabc4041.tar.bz2
perl-Hal-Cdroms-5c9eb541e1e8ea1c943fa0d762251265eabc4041.tar.xz
perl-Hal-Cdroms-5c9eb541e1e8ea1c943fa0d762251265eabc4041.zip
Fix "Use of uninitialized value" message (mga#16142).
-rw-r--r--lib/Hal/Cdroms.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Hal/Cdroms.pm b/lib/Hal/Cdroms.pm
index 3da8490..dfb2585 100644
--- a/lib/Hal/Cdroms.pm
+++ b/lib/Hal/Cdroms.pm
@@ -309,6 +309,7 @@ sub _reactor_wait {
$found_val = $val;
_reactor_shutdown($reactor);
}
+ 1;
});
if ($timeout) {
$reactor->add_timeout($timeout, Net::DBus::Callback->new(method => sub {