]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ifdef out array for EVENT_DEBUG
authorAlan T. DeKok <aland@freeradius.org>
Tue, 10 Oct 2017 11:13:48 +0000 (07:13 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 10 Oct 2017 11:13:48 +0000 (07:13 -0400)
src/lib/util/event.c

index 1de82ed0c14f63ba1612ff44929b433e6f7c6fab..23ee0b903b2c28f625375b0baf015fe105ca3a99 100644 (file)
@@ -48,6 +48,7 @@ RCSID("$Id$")
 #  define EVENT_DEBUG(...)
 #endif
 
+#ifdef WITH_EVENT_DEBUG
 static FR_NAME_NUMBER const kevent_filter_table[] = {
        { "EVFILT_READ",        EVFILT_READ },
 #ifdef EVFILT_EXCEPT
@@ -67,6 +68,7 @@ static FR_NAME_NUMBER const kevent_filter_table[] = {
 
        {  NULL , -1 }
 };
+#endif
 
 /** A timer event
  *