mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
silence warning
This commit is contained in:
parent
9edb2d518e
commit
186d30288d
2 changed files with 2 additions and 3 deletions
|
|
@ -1326,7 +1326,7 @@ slap_acl_mask(
|
|||
char buf[] = "FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF";
|
||||
struct berval ip;
|
||||
struct in6_addr addr;
|
||||
int port_number = -1, i;
|
||||
int port_number = -1;
|
||||
|
||||
if ( strncasecmp( op->o_conn->c_peer_name.bv_val,
|
||||
acl_bv_ipv6_eq.bv_val,
|
||||
|
|
|
|||
|
|
@ -486,8 +486,7 @@ slap_discover_feature(
|
|||
LDAP *ld = NULL;
|
||||
LDAPMessage *res = NULL, *entry;
|
||||
int rc, i;
|
||||
struct berval cred = BER_BVC( "" ),
|
||||
bv_val,
|
||||
struct berval bv_val,
|
||||
**values = NULL;
|
||||
char *attrs[ 2 ] = { NULL, NULL };
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue