diff options
| -rw-r--r-- | src/socket_wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index addcc17..0fcdb99 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -355,6 +355,7 @@ enum swrap_lib { SWRAP_LIBSOCKET, }; +#ifndef NDEBUG static const char *swrap_str_lib(enum swrap_lib lib) { switch (lib) { @@ -369,6 +370,7 @@ static const char *swrap_str_lib(enum swrap_lib lib) /* Compiler would warn us about unhandled enum value if we get here */ return "unknown"; } +#endif static void *swrap_load_lib_handle(enum swrap_lib lib) { |
