[PATCH 2/2] winapi_test: Add a 'last;', to optimize.
12 Apr
2020
12 Apr
'20
7:43 p.m.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711(a)gautherie.fr> --- tools/winapi/winapi_test | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test index 48c29f8..4f8e9de 100755 --- a/tools/winapi/winapi_test +++ b/tools/winapi/winapi_test @@ -877,6 +877,7 @@ foreach my $type_name (sort(keys(%type_names_used))) { my $type_name2type = $file2types{$pointer_size}{"include/$header"}; if (exists($type_name2type{$type_name})) { $found = 1; + last; } } -- 2.10.0.windows.1
2161
Age (days ago)
2161
Last active (days ago)
0 comments
1 participants
participants (1)
-
Serge Gautherie