mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
silence warnings
This commit is contained in:
parent
8776630509
commit
9abaf38d1f
@ -1307,7 +1307,7 @@ getNextPage:
|
|||||||
|
|
||||||
if (( rc == LDAP_SUCCESS ) && vlv ) {
|
if (( rc == LDAP_SUCCESS ) && vlv ) {
|
||||||
char buf[BUFSIZ];
|
char buf[BUFSIZ];
|
||||||
int i, moreEntries, tmpSize;
|
int i, moreEntries;
|
||||||
|
|
||||||
/* Loop to get the next window when
|
/* Loop to get the next window when
|
||||||
* enter is pressed on the terminal.
|
* enter is pressed on the terminal.
|
||||||
|
@ -618,7 +618,7 @@ no_cn:
|
|||||||
} else if (( cn->data[0] == '*' ) && ( cn->data[1] == '.' )) {
|
} else if (( cn->data[0] == '*' ) && ( cn->data[1] == '.' )) {
|
||||||
char *domain = strchr(name, '.');
|
char *domain = strchr(name, '.');
|
||||||
if( domain ) {
|
if( domain ) {
|
||||||
size_t dlen;
|
int dlen;
|
||||||
|
|
||||||
dlen = nlen - (domain-name);
|
dlen = nlen - (domain-name);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user