Fix an uninitialized value warning

This commit is contained in:
Eelco Dolstra 2013-09-18 12:51:51 +00:00
parent e54b536bb7
commit e4cbd057e2

View file

@ -66,7 +66,7 @@ sub buildFinished {
my $to = $b->jobset->emailoverride ne "" ? $b->jobset->emailoverride : $b->maintainers; my $to = $b->jobset->emailoverride ne "" ? $b->jobset->emailoverride : $b->maintainers;
foreach my $address (split ",", $to) { foreach my $address (split ",", ($to // "")) {
$address = trim $address; $address = trim $address;
$addresses{$address} //= { builds => [] }; $addresses{$address} //= { builds => [] };