From 9abaf38d1f072769cd817220ac572a8be5ffa3b9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 19 Aug 2009 12:23:27 +0000 Subject: [PATCH] silence warnings --- clients/tools/ldapsearch.c | 2 +- libraries/libldap/tls_o.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5