silence warnings

This commit is contained in:
Pierangelo Masarati 2009-08-19 12:23:27 +00:00
parent 8776630509
commit 9abaf38d1f
2 changed files with 2 additions and 2 deletions

View 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.

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