diff --git a/lib/ldap.c b/lib/ldap.c index 729b4e2abc716f39a4e6687f6f4fc14bc5bbf816..9c877e19fc60a461e4ab8f2485c7dbf1517d188f 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 }