From: Ben Collins Date: Fri, 15 Sep 2000 02:53:55 +0000 (+0000) Subject: include ac/ctype.h and initialize some variables to avoid compiler warnings X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1994 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=960041de8a96869fbde3319ddfaa8304c3fdb727;p=openldap include ac/ctype.h and initialize some variables to avoid compiler warnings --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 058523f42e..f0f8875b5e 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "ldap-int.h" #ifdef LDAP_R_COMPILE @@ -654,11 +655,11 @@ int ldap_pvt_sasl_secprops( char **props = ldap_str2charray( in, "," ); unsigned sflags = 0; int got_sflags = 0; - sasl_ssf_t max_ssf; + sasl_ssf_t max_ssf = 0; int got_max_ssf = 0; - sasl_ssf_t min_ssf; + sasl_ssf_t min_ssf = 0; int got_min_ssf = 0; - unsigned maxbufsize; + unsigned maxbufsize = 0; int got_maxbufsize = 0; if( props == NULL || secprops == NULL ) {