Fix NT builds and remove lint

This commit is contained in:
Kurt Zeilenga 2000-03-13 19:30:14 +00:00
parent 50dafec453
commit db662b516f
4 changed files with 5 additions and 8 deletions

View File

@ -762,7 +762,6 @@ re_encode_request( LDAP *ld, BerElement *origber, ber_int_t msgid, char **dnp )
* XXX this routine knows way too much about how the lber library works!
*/
ber_int_t along;
ber_len_t len;
ber_tag_t tag;
ber_int_t ver;
int rc;

View File

@ -43,7 +43,7 @@ CPP=cl.exe
# PROP Intermediate_Dir "..\..\Release\libldap_r"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\include" /D "LDAP_R_COMPILE" /D "WIN32" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\include" /D "LDAP_R_COMPILE" /D "WIN32" /D "_WINDOWS" /D _WIN32_WINNT=0x0400 /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
@ -64,7 +64,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "..\..\Debug\libldap_r"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\..\include" /D "_DEBUG" /D "LDAP_R_COMPILE" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\..\include" /D "_DEBUG" /D "LDAP_R_COMPILE" /D "WIN32" /D "_WINDOWS" /D _WIN32_WINNT=0x0400 /FR /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo

View File

@ -102,9 +102,9 @@ ldap_pvt_thread_cond_wait( ldap_pvt_thread_cond_t *cond,
}
int
ldap_pvt_thread_cond_broadcast( ldap_pvt_thread_cond_t *cv )
ldap_pvt_thread_cond_broadcast( ldap_pvt_thread_cond_t *cond )
{
SetEvent( *cv );
SetEvent( *cond );
return( 0 );
}

View File

@ -35,15 +35,13 @@ do_compare(
struct berval value;
Backend *be;
int rc = LDAP_SUCCESS;
#ifdef SLAPD_SCHEMA_NOT_COMPAT
char *text = NULL;
#ifdef SLAPD_SCHEMA_NOT_COMPAT
AttributeAssertion ava;
ava.aa_desc = NULL;
#else
Ava ava;
#endif
char *text;
desc.bv_val = NULL;
value.bv_val = NULL;