Francois Gouget : testbot/CheckForWinetestUpdate: Simplify a hashtable copy.
Alexandre Julliard
julliard at winehq.org
Mon Aug 20 12:41:40 CDT 2018
Module: tools
Branch: master
Commit: 3b435a98a044b78f452c78b6d3ece53c1baf6df7
URL: https://source.winehq.org/git/tools.git/?a=commit;h=3b435a98a044b78f452c78b6d3ece53c1baf6df7
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Aug 20 09:07:56 2018 +0200
testbot/CheckForWinetestUpdate: Simplify a hashtable copy.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 21d2e15..a7d77f0 100755
--- a/testbot/bin/CheckForWinetestUpdate.pl
+++ b/testbot/bin/CheckForWinetestUpdate.pl
@@ -386,7 +386,7 @@ while (@ARGV)
# Check parameters
if (!defined $Usage)
{
- map { $OptTypes{$_} = 1 } keys %TaskTypes if (!%OptTypes);
+ %OptTypes = %TaskTypes if (!%OptTypes);
}
if (defined $Usage)
{
More information about the wine-cvs
mailing list