git.samba.org
/
resolv_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc057f2
)
rwrap: Always build with rwrap_str_lib()
author
Andreas Schneider
<asn@samba.org>
Wed, 29 Aug 2018 14:42:16 +0000
(16:42 +0200)
committer
Andreas 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
patch
|
blob
|
history
diff --git
a/src/resolv_wrapper.c
b/src/resolv_wrapper.c
index 5a243b1ae9a1b90bfd23b88f726735bcfb137d3d..b89e5427c8bf21f258052db17eca3b9bd7ab987b 100644
(file)
--- a/
src/resolv_wrapper.c
+++ b/
src/resolv_wrapper.c
@@
-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)
{