Fix some warnings about undefined values

This commit is contained in:
Eelco Dolstra
2012-07-02 15:18:30 +00:00
parent d37c2c239c
commit fe2dab6fe8
2 changed files with 10 additions and 1 deletions

View File

@ -361,7 +361,7 @@ sub getEvals {
foreach my $input (@{$curInputs}) {
my $p = $prevInputsHash{$input->name};
push @changedInputs, $input
if !defined $p || $input->revision ne $p->revision || $input->type ne $p->type || $input->uri ne $p->uri ||
if !defined $p || ($input->revision || "") ne ($p->revision || "") || $input->type ne $p->type || ($input->uri || "") ne ($p->uri || "") ||
( defined $input->dependency && defined $p->dependency && $input->dependency->id ne $p->dependency->id);
}
$prevInputs = $curInputs;