winemaker: Avoid setting variable to an uninitialized value.

This commit is contained in:
André Hentschel 2010-06-17 21:10:01 +02:00 committed by Alexandre Julliard
parent eb0a032a8c
commit 1d33f8db9b
1 changed files with 6 additions and 2 deletions

View File

@ -2251,9 +2251,13 @@ sub generate_list($$$;$)
foreach my $item (@$list) {
my $value;
if (defined $data) {
$value=&$data($item);
$value=&$data($item);
} else {
$value=$item;
if (defined $item) {
$value=$item;
} else {
$value="";
}
}
if ($value ne "") {
if ($first) {