From e4cbd057e231f345a1c937277e7c49efc9dd2d54 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 18 Sep 2013 12:51:51 +0000 Subject: [PATCH] Fix an uninitialized value warning --- src/lib/Hydra/Plugin/EmailNotification.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/EmailNotification.pm b/src/lib/Hydra/Plugin/EmailNotification.pm index b373175f..1e484483 100644 --- a/src/lib/Hydra/Plugin/EmailNotification.pm +++ b/src/lib/Hydra/Plugin/EmailNotification.pm @@ -66,7 +66,7 @@ sub buildFinished { my $to = $b->jobset->emailoverride ne "" ? $b->jobset->emailoverride : $b->maintainers; - foreach my $address (split ",", $to) { + foreach my $address (split ",", ($to // "")) { $address = trim $address; $addresses{$address} //= { builds => [] };