From: Pierangelo Masarati Date: Wed, 19 Aug 2009 12:23:27 +0000 (+0000) Subject: silence warnings X-Git-Tag: ACLCHECK_0~279 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9abaf38d1f072769cd817220ac572a8be5ffa3b9;p=openldap silence warnings --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 8f41ee96e6..b1b3bf72aa 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1307,7 +1307,7 @@ getNextPage: if (( rc == LDAP_SUCCESS ) && vlv ) { char buf[BUFSIZ]; - int i, moreEntries, tmpSize; + int i, moreEntries; /* Loop to get the next window when * enter is pressed on the terminal. diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index 90cade8f4e..f572d03f82 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -618,7 +618,7 @@ no_cn: } else if (( cn->data[0] == '*' ) && ( cn->data[1] == '.' )) { char *domain = strchr(name, '.'); if( domain ) { - size_t dlen; + int dlen; dlen = nlen - (domain-name);