From b8ede741b1a02521453237e37c5a46fcf9042576 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 30 Dec 2014 11:19:16 +0100 Subject: [PATCH] AM: wantarray raus, wird nur in scalar verwendet --- SL/AM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/AM.pm b/SL/AM.pm index acae102c3..d5c38ae50 100644 --- a/SL/AM.pm +++ b/SL/AM.pm @@ -1181,7 +1181,7 @@ sub sum_with_unit { $main::lxdebug->leave_sub(); - return wantarray ? ($sum, $base_unit) : $sum; + return $sum; } sub add_unit { -- 2.20.1