From 3e54f0a6abe70a8a850823e512675744b26bac85 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Oct 2013 14:47:30 +0200 Subject: [PATCH] Fix an uninitialized value warning --- src/lib/Hydra/Controller/JobsetEval.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/JobsetEval.pm b/src/lib/Hydra/Controller/JobsetEval.pm index 8b152394..9fa99dd8 100644 --- a/src/lib/Hydra/Controller/JobsetEval.pm +++ b/src/lib/Hydra/Controller/JobsetEval.pm @@ -91,7 +91,7 @@ sub view : Chained('eval') PathPart('') Args(0) { if ($d == 0) { $n++; $found = 1; - if ($build->buildstatus == 3 || $build->buildstatus == 4) { + if ($build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4)) { push @{$c->stash->{aborted}}, $build; } elsif ($build->finished == 0 || $build2->finished == 0) { push @{$c->stash->{unfinished}}, $build;