Dmitry Timoshkov : adsldp/tests: Remove no longer needed goto.

Alexandre Julliard julliard at winehq.org
Mon Apr 6 15:53:22 CDT 2020


Module: wine
Branch: master
Commit: 8a3de59fcb5c0bb8b3cfac559c1eead10cd43de6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8a3de59fcb5c0bb8b3cfac559c1eead10cd43de6

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Apr  6 18:12:04 2020 +0800

adsldp/tests: Remove no longer needed goto.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);
 }
 




More information about the wine-cvs mailing list