From f3cb97e973ada4969597211be57d580ca244deca Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 25 Jan 2000 20:22:17 +0000 Subject: [PATCH] Add utf-8 to MSVC projects and remove lint. --- libraries/libldap/libldap.dsp | 4 ++++ libraries/libldap/utf-8.c | 2 -- libraries/libldap_r/libldap_r.dsp | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/libldap.dsp b/libraries/libldap/libldap.dsp index 803fd3396b..e5f9125fff 100644 --- a/libraries/libldap/libldap.dsp +++ b/libraries/libldap/libldap.dsp @@ -359,6 +359,10 @@ SOURCE=.\url.c # End Source File # Begin Source File +SOURCE=".\utf-8.c" +# End Source File +# Begin Source File + SOURCE=".\util-int.c" # End Source File # End Target diff --git a/libraries/libldap/utf-8.c b/libraries/libldap/utf-8.c index 8538b7304a..9ea17c11e8 100644 --- a/libraries/libldap/utf-8.c +++ b/libraries/libldap/utf-8.c @@ -418,8 +418,6 @@ ber_len_t (ldap_utf8_strspn)( const char *str, const char *set ) /* like strpbrk(), replaces strchr() as well */ char *(ldap_utf8_strpbrk)( const char *str, const char *set ) { - int len; - for( ; *str != '\0'; LDAP_UTF8_INCR(str) ) { const char *cset; diff --git a/libraries/libldap_r/libldap_r.dsp b/libraries/libldap_r/libldap_r.dsp index 0f00179f0f..bc6f09c27e 100644 --- a/libraries/libldap_r/libldap_r.dsp +++ b/libraries/libldap_r/libldap_r.dsp @@ -352,6 +352,10 @@ SOURCE=..\libldap\url.c # End Source File # Begin Source File +SOURCE="..\libldap\utf-8.c" +# End Source File +# Begin Source File + SOURCE="..\libldap\util-int.c" # End Source File # End Target -- 2.39.5