urlmon/tests: Remove stray ok() call.

Michael Stefaniuc mstefani at redhat.de
Thu May 24 07:01:52 CDT 2012


hres was already checked for S_OK and the CHECK_CALLED / CHECK_NOT_CALLED
macros do not modify it.
---
 dlls/urlmon/tests/protocol.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index ce383ee..889f3a9 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -941,7 +941,6 @@ static HRESULT WINAPI ProtocolSink_ReportData(IInternetProtocolSink *iface, DWOR
                     if(!emulate_prot)
                         CHECK_CALLED(ReportData2);
                     CHECK_CALLED(ReportResult);
-                    ok(hres == S_OK, "Read failed: %08x\n", hres);
                     reported_all_data = TRUE;
                 }else {
                     if(!emulate_prot)
-- 
1.7.7.6



More information about the wine-patches mailing list