Author: cwittich Date: Sun May 30 21:37:27 2010 New Revision: 47455
URL: http://svn.reactos.org/svn/reactos?rev=47455&view=rev Log: [KMTEST] cast the unused 0 in the ok macro to void to make clang happy as done for wine test.h
Modified: trunk/rostests/drivers/kmtest/kmtest.h
Modified: trunk/rostests/drivers/kmtest/kmtest.h URL: http://svn.reactos.org/svn/reactos/trunk/rostests/drivers/kmtest/kmtest.h?re... ============================================================================== --- trunk/rostests/drivers/kmtest/kmtest.h [iso-8859-1] (original) +++ trunk/rostests/drivers/kmtest/kmtest.h [iso-8859-1] Sun May 30 21:37:27 2010 @@ -44,7 +44,7 @@ #endif /* __GNUC__ */
-#define ok_(file, line) (kmtest_set_location(file, line), 0) ? 0 : kmtest_ok +#define ok_(file, line) (kmtest_set_location(file, line), 0) ? (void)0 : kmtest_ok #define ok ok_(__FILE__, __LINE__)
PDEVICE_OBJECT AttachDeviceObject;