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);