orion / rpms / openni

Forked from rpms/openni 4 years ago
Clone
Tim Niemueller 9693fd1
--- a/Include/Linux-x86/XnPlatformLinux-x86.h
Tim Niemueller 9693fd1
+++ b/Include/Linux-x86/XnPlatformLinux-x86.h
Tim Niemueller 9693fd1
@@ -163,7 +163,7 @@
Tim Niemueller 9693fd1
 #define XN_STRINGIFY_HELPER(n) #n
Tim Niemueller 9693fd1
 
Tim Niemueller 9693fd1
 /** Asserts an expression, only on Debug build. */
Tim Niemueller 9693fd1
-#define XN_ASSERT(x)
Tim Niemueller 9693fd1
+#define XN_ASSERT(x) ((void)(x))
Tim Niemueller 9693fd1
 
Tim Niemueller 9693fd1
 //---------------------------------------------------------------------------
Tim Niemueller 9693fd1
 // API Export/Import Macros