shlwapi/tests: Replace some '#if 0's with 'if (0)'s.
Francois Gouget
fgouget at free.fr
Thu Dec 14 11:10:39 CST 2006
---
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 */
--
1.4.4.1
More information about the wine-patches
mailing list