Commit f5b1a6b5 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi/tests: Break out of the loop if both components are found in test_MsiEnumComponentsEx.

parent 389ad808
......@@ -13392,6 +13392,7 @@ static void test_MsiEnumComponentsEx(void)
ok( !sid[0], "got \"%s\"\n", sid );
ok( !len, "unexpected length %u\n", len );
found1 = TRUE;
if (found2) break;
}
if (!strcmp( comp2, guid ))
{
......@@ -13399,6 +13400,7 @@ static void test_MsiEnumComponentsEx(void)
ok( sid[0], "empty sid\n" );
ok( len == strlen(sid), "unexpected length %u\n", len );
found2 = TRUE;
if (found1) break;
}
index++;
guid[0] = 0;
......
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