winetest: Avoid a deprecated form of checking for empty arrays.

Francois Gouget fgouget at free.fr
Thu Feb 6 12:23:08 CST 2014


---
 winetest/build-index | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winetest/build-index b/winetest/build-index
index ae5f5a7..286061c 100755
--- a/winetest/build-index
+++ b/winetest/build-index
@@ -238,7 +238,7 @@ foreach my $build (@builds)
     {
         next unless defined($versions{$ver->{name}});
         my $counts = $build->{versions}->{$ver->{name}};
-        if (!defined @{$counts})
+        if (!@{$counts})
         {
             printf OUT "<td class=\"note\"> </td>";
         }
-- 
1.8.5.2




More information about the wine-patches mailing list