diff --git a/lib/ldap.c b/lib/ldap.c index 729b4e2ab..9c877e19f 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -160,7 +160,7 @@ static int DynaOpen(const char **mod_name) return (libldap != NULL); #else - (void) mod_name; + *mod_name = ""; return (0); #endif }