From 960041de8a96869fbde3319ddfaa8304c3fdb727 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Fri, 15 Sep 2000 02:53:55 +0000 Subject: [PATCH] include ac/ctype.h and initialize some variables to avoid compiler warnings --- libraries/libldap/cyrus.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ) { -- 2.39.5