Commit 1d33f8db authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winemaker: Avoid setting variable to an uninitialized value.

parent eb0a032a
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment