]> git.sur5r.net Git - openldap/commitdiff
silence warnings
authorPierangelo Masarati <ando@openldap.org>
Wed, 19 Aug 2009 12:23:27 +0000 (12:23 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 19 Aug 2009 12:23:27 +0000 (12:23 +0000)
clients/tools/ldapsearch.c
libraries/libldap/tls_o.c

index 8f41ee96e61956d65252e1d3874dd4f8fbd0ebd3..b1b3bf72aa752836957185d2d6ec61449ebaeaee 100644 (file)
@@ -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.
index 90cade8f4ef6b1639d0baf90f3b44a775efbd8de..f572d03f82abc7951ba47f12d077d75aa8b4004e 100644 (file)
@@ -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);