From a38f07f3e8c2c6ff68b2e3f6aa4b1e65502c23f3 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 7 Sep 2016 22:45:39 +0000 Subject: [PATCH] [SHELL32_WINETEST] Sync with Wine Staging 1.9.18. svn path=/trunk/; revision=72615 --- rostests/winetests/shell32/appbar.c | 6 ++---- rostests/winetests/shell32/shelldispatch.c | 4 +--- rostests/winetests/shell32/shellole.c | 6 ++---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/rostests/winetests/shell32/appbar.c b/rostests/winetests/shell32/appbar.c index 7ec3c344a65..1505a40aeb8 100644 --- a/rostests/winetests/shell32/appbar.c +++ b/rostests/winetests/shell32/appbar.c @@ -423,10 +423,8 @@ static void test_GetCurrentProcessExplicitAppUserModelID(void) return; } -if (0) /* crashes on native */ -{ - hr = pGetCurrentProcessExplicitAppUserModelID(NULL); -} + if (0) /* crashes on native */ + hr = pGetCurrentProcessExplicitAppUserModelID(NULL); appid = (void*)0xdeadbeef; hr = pGetCurrentProcessExplicitAppUserModelID(&appid); diff --git a/rostests/winetests/shell32/shelldispatch.c b/rostests/winetests/shell32/shelldispatch.c index 3711fdec5d2..443128fddda 100644 --- a/rostests/winetests/shell32/shelldispatch.c +++ b/rostests/winetests/shell32/shelldispatch.c @@ -727,11 +727,9 @@ todo_wine hr = IWebBrowser2_get_Document(wb, &doc); todo_wine ok(hr == S_OK, "got 0x%08x\n", hr); -if (hr == S_OK) -{ +if (hr == S_OK) { test_dispatch_typeinfo(doc, viewdual_riids); } - IWebBrowser2_Release(wb); /* IServiceProvider */ diff --git a/rostests/winetests/shell32/shellole.c b/rostests/winetests/shell32/shellole.c index eb0d45bbeff..df50e2bbdfe 100644 --- a/rostests/winetests/shell32/shellole.c +++ b/rostests/winetests/shell32/shellole.c @@ -870,10 +870,8 @@ static void test_SHCreateSessionKey(void) return; } -if (0) /* crashes on native */ -{ - hr = pSHCreateSessionKey(KEY_READ, NULL); -} + if (0) /* crashes on native */ + hr = pSHCreateSessionKey(KEY_READ, NULL); hkey = (HKEY)0xdeadbeef; hr = pSHCreateSessionKey(0, &hkey);