wldap32: Fix unused variable warnings.

This commit is contained in:
Mike McCormack 2006-05-29 19:39:09 +09:00 committed by Alexandre Julliard
parent 20c24fd3a2
commit e4438fe14f
2 changed files with 14 additions and 4 deletions

View File

@ -31,8 +31,9 @@
#ifdef HAVE_LDAP_H
#include <ldap.h>
static LDAPMod *nullattrs[] = { NULL };
#else
#endif
#ifndef LDAP_NOT_SUPPORTED
#define LDAP_NOT_SUPPORTED 0x5c
#endif
@ -41,6 +42,10 @@ static LDAPMod *nullattrs[] = { NULL };
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#ifdef HAVE_LDAP
static LDAPMod *nullattrs[] = { NULL };
#endif
/***********************************************************************
* ldap_addA (WLDAP32.@)
*

View File

@ -31,8 +31,9 @@
#ifdef HAVE_LDAP_H
#include <ldap.h>
static LDAPMod *nullmods[] = { NULL };
#else
#endif
#ifndef LDAP_NOT_SUPPORTED
#define LDAP_NOT_SUPPORTED 0x5c
#endif
@ -41,6 +42,10 @@ static LDAPMod *nullmods[] = { NULL };
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
#ifdef HAVE_LDAP
static LDAPMod *nullmods[] = { NULL };
#endif
/***********************************************************************
* ldap_modifyA (WLDAP32.@)
*