Nikolay Sivov : shell32/tests: Fix indentation warnings on GCC 6.

Alexandre Julliard julliard at winehq.org
Wed Aug 10 11:05:56 CDT 2016


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Aug  9 20:02:20 2016 +0300

shell32/tests: Fix indentation warnings on GCC 6.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/appbar.c        | 4 ++--
 dlls/shell32/tests/shelldispatch.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index dbac4e6..1505a40 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -423,8 +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/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index 70b6c36..9a47c67 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -728,9 +728,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 */




More information about the wine-cvs mailing list