diff --git a/Source/CTest/Curl/ldap.c b/Source/CTest/Curl/ldap.c index 4b2393fcb8..5e26e4bc72 100644 --- a/Source/CTest/Curl/ldap.c +++ b/Source/CTest/Curl/ldap.c @@ -67,6 +67,7 @@ static void *liblber = NULL; static void DynaOpen(void) { + (void)liblber; #if defined(HAVE_DLOPEN) || defined(HAVE_LIBDL) if (libldap == NULL) { /*