$NetBSD$ gcc-4.7.3 flags as: variable set but not used [-Werror=unused-but-set-variable] --- tools/xenstore/xenstored_core.c.orig 2009-08-06 21:56:38.000000000 +0900 +++ tools/xenstore/xenstored_core.c 2013-05-30 14:26:53.000000000 +0900 @@ -130,7 +130,7 @@ void trace(const char *fmt, ...) va_list arglist; char *str; char sbuf[1024]; - int ret, dummy; + int ret, __attribute__((__unused__)) dummy; if (tracefd < 0) return;