X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fct.h;h=4a4734b68fdd0a0119e59b80d374278f3102b046;hb=dca8d386ab6a4e33050b456cff4547d6adfdf249;hp=84f1e917c1279a33ec97dd479ef3522a6fc759f5;hpb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;p=ctsim.git 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