Michael Stefaniuc : mshtml/tests: Remove leftover code from c3d8d052.

Alexandre Julliard julliard at winehq.org
Tue May 22 14:21:29 CDT 2012


Module: wine
Branch: master
Commit: 2addfb73e3d783eb8fc3c3a5abc4c13f9f94c198
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2addfb73e3d783eb8fc3c3a5abc4c13f9f94c198

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue May 22 11:24:55 2012 +0200

mshtml/tests: Remove leftover code from c3d8d052.

---

 dlls/mshtml/tests/dom.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 14d91cc..4dc55db 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -3541,9 +3541,6 @@ static void test_elem_col_item(IHTMLElementCollection *col, const char *n,
 
     test_elem_collection((IUnknown*)disp, elem_types, len);
     IDispatch_Release(disp);
-    ok(hres == S_OK, "Could not get IHTMLElementCollection interface: %08x\n", hres);
-    if(hres != S_OK)
-        goto cleanup;
 
     V_VT(&index) = VT_I4;
 
@@ -3573,7 +3570,6 @@ static void test_elem_col_item(IHTMLElementCollection *col, const char *n,
     ok(hres == E_INVALIDARG, "item failed: %08x, expected E_INVALIDARG\n", hres);
     ok(disp == NULL, "disp != NULL\n");
 
-cleanup:
     SysFreeString(V_BSTR(&name));
 }
 




More information about the wine-cvs mailing list