[PATCH] testbot/CheckForWinetestUpdate: Simplify a hashtable copy.

Francois Gouget fgouget at codeweavers.com
Mon Aug 20 02:07:56 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/CheckForWinetestUpdate.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/CheckForWinetestUpdate.pl b/testbot/bin/CheckForWinetestUpdate.pl
index df5a326f5..470325586 100755
--- a/testbot/bin/CheckForWinetestUpdate.pl
+++ b/testbot/bin/CheckForWinetestUpdate.pl
@@ -387,7 +387,7 @@ while (@ARGV)
 # Check parameters
 if (!defined $Usage)
 {
-  map { $OptTypes{$_} = 1 } keys %TaskTypes if (!%OptTypes);
+  %OptTypes = %TaskTypes if (!%OptTypes);
 }
 if (defined $Usage)
 {
-- 
2.18.0




More information about the wine-devel mailing list