Avoid generating a warning if $fullname{$file} is undefined

Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nick Woolley 2009-07-06 14:33:45 +01:00 committed by Junio C Hamano
parent 444f29ce42
commit 3115fe9821

View File

@ -259,7 +259,8 @@ if (@canstatusfiles) {
if $file =~ /^no file /
&& $status eq 'Up-to-date';
$cvsstat{$fullname{$file}} = $status;
$cvsstat{$fullname{$file}} = $status
if defined $fullname{$file};
}
}
}