[PATCH 04/12] dlls/ole32/tests: don't outdent todo_wine*

Eric Pouech eric.pouech at gmail.com
Mon Feb 21 01:07:39 CST 2022


This prevents -Wmisleading-indentation warnings (Mingw GCC11)

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/ole32/tests/moniker.c   |    2 +-
 dlls/ole32/tests/ole2.c      |    2 +-
 dlls/ole32/tests/storage32.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c
index b5eb5f2ffb4..afbea762e89 100644
--- a/dlls/ole32/tests/moniker.c
+++ b/dlls/ole32/tests/moniker.c
@@ -2809,7 +2809,7 @@ static void test_item_moniker(void)
 
     moniker3 = (void *)0xdeadbeef;
     hr = IMoniker_CommonPrefixWith(moniker, moniker2, &moniker3);
-todo_wine
+    todo_wine
 {
     ok(hr == MK_E_NOPREFIX, "Unexpected hr %#x.\n", hr);
     ok(!moniker3, "Unexpected object.\n");
diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 69d8a0c0e93..c463e74c8cb 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1234,7 +1234,7 @@ static void test_OleLoad(IStorage *pStorage)
             if (fmt == CF_METAFILEPICT)
                 ok(hr == S_OK, "OleDraw error %#x: cfFormat = %u, advf = %#x\n", hr, fmt, header.advf);
             else if (fmt == CF_ENHMETAFILE)
-todo_wine
+                todo_wine
                 ok(hr == S_OK, "OleDraw error %#x: cfFormat = %u, advf = %#x\n", hr, fmt, header.advf);
             else
                 ok(hr == OLE_E_BLANK || hr == OLE_E_NOTRUNNING || hr == E_FAIL, "OleDraw should fail: %#x, cfFormat = %u, advf = %#x\n", hr, fmt, header.advf);
diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c
index b05baddac98..9f4311cd07c 100644
--- a/dlls/ole32/tests/storage32.c
+++ b/dlls/ole32/tests/storage32.c
@@ -3313,7 +3313,7 @@ static void test_direct_swmr(void)
 
     /* it's possible to create in writer mode */
     hr = StgCreateDocfile(fileW, STGM_CREATE | STGM_READWRITE | STGM_SHARE_DENY_WRITE | STGM_DIRECT_SWMR, 0, &stg);
-todo_wine
+    todo_wine
     ok(hr == S_OK, "got %08x\n", hr);
 if (hr == S_OK) {
     IStorage_Release(stg);




More information about the wine-devel mailing list