forked from lix-project/hydra
Fix an uninitialized value warning
This commit is contained in:
parent
ee5b655535
commit
3e54f0a6ab
|
@ -91,7 +91,7 @@ sub view : Chained('eval') PathPart('') Args(0) {
|
||||||
if ($d == 0) {
|
if ($d == 0) {
|
||||||
$n++;
|
$n++;
|
||||||
$found = 1;
|
$found = 1;
|
||||||
if ($build->buildstatus == 3 || $build->buildstatus == 4) {
|
if ($build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4)) {
|
||||||
push @{$c->stash->{aborted}}, $build;
|
push @{$c->stash->{aborted}}, $build;
|
||||||
} elsif ($build->finished == 0 || $build2->finished == 0) {
|
} elsif ($build->finished == 0 || $build2->finished == 0) {
|
||||||
push @{$c->stash->{unfinished}}, $build;
|
push @{$c->stash->{unfinished}}, $build;
|
||||||
|
|
Loading…
Reference in a new issue