rwrap: Always build with rwrap_str_lib()
authorAndreas Schneider <asn@samba.org>
Wed, 29 Aug 2018 14:42:16 +0000 (16:42 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 29 Aug 2018 15:32:07 +0000 (17:32 +0200)
This fixes the Release build!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/resolv_wrapper.c

index 5a243b1ae9a1b90bfd23b88f726735bcfb137d3d..b89e5427c8bf21f258052db17eca3b9bd7ab987b 100644 (file)
@@ -1296,7 +1296,6 @@ enum rwrap_lib {
     RWRAP_LIBRESOLV
 };
 
-#ifndef NDEBUG
 static const char *rwrap_str_lib(enum rwrap_lib lib)
 {
        switch (lib) {
@@ -1309,7 +1308,6 @@ static const char *rwrap_str_lib(enum rwrap_lib lib)
        /* Compiler would warn us about unhandled enum value if we get here */
        return "unknown";
 }
-#endif
 
 static void *rwrap_load_lib_handle(enum rwrap_lib lib)
 {