Fix all remaining compiler warnings
[ctsim.git] / include / ct.h
index 84f1e917c1279a33ec97dd479ef3522a6fc759f5..4a4734b68fdd0a0119e59b80d374278f3102b046 100644 (file)
@@ -185,5 +185,7 @@ extern "C" {
 
 #include "ctglobals.h"
 
-#endif
+// Macro to remove compiler warnings about unused variables
+#define UNUSED(expr) do { (void)(expr); } while (0)
 
+#endif