Jacek Caban : urlmon/tests: Get rid of debug leftovers.

Alexandre Julliard julliard at winehq.org
Thu Jun 1 18:49:37 CDT 2017


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Jun  1 15:11:50 2017 +0200

urlmon/tests: Get rid of debug leftovers.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/urlmon/tests/protocol.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 5981c25..1e6fa36 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -1332,21 +1332,6 @@ static HRESULT WINAPI BindInfo_GetBindInfo(IInternetBindInfo *iface, DWORD *grfB
             memcpy(data, post_data, sizeof(post_data));
             U(pbindinfo->stgmedData).hGlobal = data;
         }else {
-            IStream *post_stream;
-            HGLOBAL data;
-            HRESULT hres;
-
-            if(0) {
-            /* Must be GMEM_FIXED, GMEM_MOVABLE does not work properly */
-            data = GlobalAlloc(GPTR, sizeof(post_data));
-            memcpy(data, post_data, sizeof(post_data));
-            U(pbindinfo->stgmedData).hGlobal = data;
-
-            hres = CreateStreamOnHGlobal(data, FALSE, &post_stream);
-            ok(hres == S_OK, "CreateStreamOnHGlobal failed: %08x\n", hres);
-
-            U(pbindinfo->stgmedData).pstm =post_stream;/* &Stream; */
-            }
             U(pbindinfo->stgmedData).pstm = &Stream;
         }
     }




More information about the wine-cvs mailing list