[ros-diffs] [tkreuzer] 47450: [WINE] Cast the unused 0 in the ok macro to void to make clang happy

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun May 30 18:24:52 CEST 2010


Author: tkreuzer
Date: Sun May 30 18:24:51 2010
New Revision: 47450

URL: http://svn.reactos.org/svn/reactos?rev=47450&view=rev
Log:
[WINE]
Cast the unused 0 in the ok macro to void to make clang happy

Modified:
    trunk/reactos/include/reactos/wine/test.h

Modified: trunk/reactos/include/reactos/wine/test.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/test.h?rev=47450&r1=47449&r2=47450&view=diff
==============================================================================
--- trunk/reactos/include/reactos/wine/test.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/test.h [iso-8859-1] Sun May 30 18:24:51 2010
@@ -94,7 +94,7 @@
 
 #endif /* __GNUC__ */
 
-#define ok_(file, line)       (winetest_set_location(file, line), 0) ? 0 : winetest_ok
+#define ok_(file, line)       (winetest_set_location(file, line), 0) ? (void)0 : winetest_ok
 #define skip_(file, line)     (winetest_set_location(file, line), 0) ? (void)0 : winetest_skip
 #define win_skip_(file, line) (winetest_set_location(file, line), 0) ? (void)0 : winetest_win_skip
 #define trace_(file, line)    (winetest_set_location(file, line), 0) ? (void)0 : winetest_trace




More information about the Ros-diffs mailing list