msi/tests: Replace an '#if 0' with an 'if (0)'.

Francois Gouget fgouget at free.fr
Tue Jul 31 11:57:55 CDT 2007


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

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 164040f..53e7ca6 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -2414,10 +2414,12 @@ static void generate_transform(void)
     r = MsiDatabaseGenerateTransform(hdb1, hdb2, mstfile, 0, 0);
     ok(r == ERROR_SUCCESS, "return code %d, should be ERROR_SUCCESS\n", r);
 
-#if 0  /* not implemented in wine yet */
-    r = MsiCreateTransformSummaryInfo(hdb2, hdb2, mstfile, 0, 0);
-    ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
-#endif
+    if (0)
+    {
+        /* not implemented in wine yet */
+        r = MsiCreateTransformSummaryInfo(hdb2, hdb2, mstfile, 0, 0);
+        ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
+    }
 
     MsiCloseHandle(hdb1);
     MsiCloseHandle(hdb2);
-- 
1.4.4.4




More information about the wine-patches mailing list