diff --git a/dlls/advapi32/tests/lsa.c b/dlls/advapi32/tests/lsa.c index 07dd611d254..8502e17e36a 100644 --- a/dlls/advapi32/tests/lsa.c +++ b/dlls/advapi32/tests/lsa.c @@ -54,8 +54,6 @@ static BOOL init(void) if (pLsaClose && pLsaFreeMemory && pLsaOpenPolicy && pLsaQueryInformationPolicy && pConvertSidToStringSidA) return TRUE; - else - skip("Needed functions are not available\n"); } return FALSE; @@ -180,8 +178,10 @@ static void test_lsa(void) START_TEST(lsa) { - if (!init()) + if (!init()) { + skip("Needed functions are not available\n"); return; + } test_lsa(); }