chiark / gitweb /
server/{admin,peer}.c: Fix build failures when tracing is disabled.
[tripe] / server / admin.c
index 487010e18e213ae70255cdd40261b2342d92ddae..16ab8a35ac520319343aebbb3da13af602cfb1d5 100644 (file)
@@ -51,7 +51,9 @@ unsigned tr_flags = 0;
 #endif
 
 static const trace_opt w_opts[] = {
+#ifndef NTRACE
   { 't',       AF_TRACE,       "trace messages" },
+#endif
   { 'n',       AF_NOTE,        "asynchronous notifications" },
   { 'w',       AF_WARN,        "warnings" },
   { 'A',       AF_ALLMSGS,     "all of the above" },