Skip to content

Commit 3523aa2

Browse files
committed
rwrap: Always build with rwrap_str_lib()
This fixes the Release build! Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
1 parent cc057f2 commit 3523aa2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/resolv_wrapper.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,6 @@ enum rwrap_lib {
12961296
RWRAP_LIBRESOLV
12971297
};
12981298

1299-
#ifndef NDEBUG
13001299
static const char *rwrap_str_lib(enum rwrap_lib lib)
13011300
{
13021301
switch (lib) {
@@ -1309,7 +1308,6 @@ static const char *rwrap_str_lib(enum rwrap_lib lib)
13091308
/* Compiler would warn us about unhandled enum value if we get here */
13101309
return "unknown";
13111310
}
1312-
#endif
13131311

13141312
static void *rwrap_load_lib_handle(enum rwrap_lib lib)
13151313
{

0 commit comments

Comments
 (0)