From 5c9eb541e1e8ea1c943fa0d762251265eabc4041 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 4 May 2020 10:54:40 +0100 Subject: Fix "Use of uninitialized value" message (mga#16142). --- lib/Hal/Cdroms.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 { -- cgit v1.2.1