https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0749f1d71d1ab4e2ef51fbc97f201062bc159359

commit 0749f1d71d1ab4e2ef51fbc97f201062bc159359
Author:     Amine Khaldi <[email protected]>
AuthorDate: Fri Jan 19 00:40:54 2018 +0100
Commit:     Amine Khaldi <[email protected]>
CommitDate: Fri Jan 19 00:40:54 2018 +0100

    [INETCOMM_WINETEST] Sync with Wine 3.0. CORE-14225
---
 modules/rostests/winetests/inetcomm/mimeole.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/rostests/winetests/inetcomm/mimeole.c 
b/modules/rostests/winetests/inetcomm/mimeole.c
index 2216bc3eca..4eea605eef 100644
--- a/modules/rostests/winetests/inetcomm/mimeole.c
+++ b/modules/rostests/winetests/inetcomm/mimeole.c
@@ -1416,6 +1416,7 @@ static void test_mhtml_protocol_binding(const 
mhtml_binding_test_t *test)
     HRESULT hres;
     HANDLE file;
     DWORD size;
+    BOOL ret;
 
     p = file_name + GetCurrentDirectoryA(sizeof(file_name), file_name);
     *p++ = '\\';
@@ -1454,7 +1455,8 @@ static void test_mhtml_protocol_binding(const 
mhtml_binding_test_t *test)
     CHECK_CALLED(ReportResult);
 
     IInternetProtocol_Release(protocol);
-    ok(DeleteFileA("winetest.mht"), "DeleteFile failed: %u\n", GetLastError());
+    ret = DeleteFileA("winetest.mht");
+    ok(ret, "DeleteFile failed: %u\n", GetLastError());
 }
 
 static const struct {

Reply via email to