From: Ben Gras Date: Mon, 5 Jul 2010 17:34:26 +0000 (+0000) Subject: vm: better fix for clang 'unused expression' warning X-Git-Tag: v3.1.8~284 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/syslog.3.html?a=commitdiff_plain;h=fc8f0b9ee2a1b4e598d7349a34ccca1a284e040e;p=minix.git vm: better fix for clang 'unused expression' warning --- diff --git a/servers/vm/sanitycheck.h b/servers/vm/sanitycheck.h index 30125f4e1..60c8a1eb6 100644 --- a/servers/vm/sanitycheck.h +++ b/servers/vm/sanitycheck.h @@ -42,7 +42,7 @@ } #else -#define SANITYCHECK (void) +#define SANITYCHECK(l) #define SLABSANITYCHECK(l) #define SLABSANE(ptr) #endif