[PATCH 6/7] adsldp/tests: Remove no longer needed goto.

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 6 05:12:04 CDT 2020


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/adsldp/tests/ldap.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/adsldp/tests/ldap.c b/dlls/adsldp/tests/ldap.c
index 208a9fa2fe..e76bd2e0b6 100644
--- a/dlls/adsldp/tests/ldap.c
+++ b/dlls/adsldp/tests/ldap.c
@@ -505,7 +505,6 @@ todo_wine
 
     hr = IDirectorySearch_ExecuteSearch(ds, (WCHAR *)L"(objectClass=*)", NULL, ~0, &sh);
     ok(hr == S_OK, "got %#x\n", hr);
-    if (hr != S_OK) goto fail;
 
     hr = IDirectorySearch_GetNextRow(ds, sh);
     ok(hr == S_OK, "got %#x\n", hr);
@@ -517,7 +516,6 @@ todo_wine
     ok(hr == S_OK, "got %#x\n", hr);
 
     IDirectorySearch_Release(ds);
-fail:
     IDirectoryObject_Release(dirobj);
 }
 
-- 
2.25.2




More information about the wine-devel mailing list