shell32: Avoid -Wmisleading-indentation warning in test_GetCurrentProcessExplicitAppUserModelID.

Gerald Pfeifer gerald at pfeifer.com
Mon Jan 11 19:54:12 CST 2016


When glancing at this, at first I actually got mislead, so being
explicit really makes sense beyond just avoiding the warning.

Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
---
 dlls/shell32/tests/appbar.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index 8138131..1df6d80 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -442,8 +442,9 @@ static void test_GetCurrentProcessExplicitAppUserModelID(void)
         return;
     }
 
-if (0) /* crashes on native */
+if (0) /* crashes on native */ {
     hr = pGetCurrentProcessExplicitAppUserModelID(NULL);
+}
 
     appid = (void*)0xdeadbeef;
     hr = pGetCurrentProcessExplicitAppUserModelID(&appid);
-- 
2.6.4



More information about the wine-patches mailing list