Francois Gouget : shlwapi/tests: Replace some '#if 0's with 'if (0)'s.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 14 14:23:59 CST 2006


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Dec 14 18:10:39 2006 +0100

shlwapi/tests: Replace some '#if 0's with 'if (0)'s.

---

 dlls/shlwapi/tests/clist.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dlls/shlwapi/tests/clist.c b/dlls/shlwapi/tests/clist.c
index a4a55a1..e6e4b05 100644
--- a/dlls/shlwapi/tests/clist.c
+++ b/dlls/shlwapi/tests/clist.c
@@ -369,9 +369,10 @@ static void test_CList(void)
   /* The call succeeds but the item is not inserted, except on some early
    * versions which return failure. Wine behaves like later versions.
    */
-#if 0
+  if (0)
+  {
   ok(hRet == S_OK, "failed bad element size\n");
-#endif
+  }
   inserted = pSHLWAPI_22(list, 33);
   ok(inserted == NULL, "inserted bad element size\n");
 
@@ -380,9 +381,10 @@ static void test_CList(void)
   inserted->ulId = ~0U;
   hRet = pSHLWAPI_20(&list, inserted);
   /* See comment above, some early versions fail this call */
-#if 0
+  if (0)
+  {
   ok(hRet == S_OK, "failed adding a container\n");
-#endif
+  }
   item = SHLWAPI_CLIST_items;
 
   /* Look for nonexistent item in populated list */




More information about the wine-cvs mailing list