X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fct.h;fp=include%2Fct.h;h=4a4734b68fdd0a0119e59b80d374278f3102b046;hp=84f1e917c1279a33ec97dd479ef3522a6fc759f5;hb=e89023477e02d9332f87cab5a7975407625dbd60;hpb=e81377bc16b3f8f5cd326d0260d284bdc25d68f3 diff --git a/include/ct.h b/include/ct.h index 84f1e91..4a4734b 100644 --- a/include/ct.h +++ b/include/ct.h @@ -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