mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
fix initialization size and silence warning
This commit is contained in:
parent
01660fbdd9
commit
8e74ed4dfc
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ access_allowed(
|
|||
{
|
||||
int ret = 1;
|
||||
int count;
|
||||
AccessControl *a;
|
||||
AccessControl *a = NULL;
|
||||
|
||||
#ifdef LDAP_DEBUG
|
||||
char accessmaskbuf[ACCESSMASK_MAXLEN];
|
||||
|
|
|
|||
|
|
@ -1114,7 +1114,7 @@ typedef struct slap_acl_state {
|
|||
int as_result;
|
||||
AttributeDescription *as_vd_ad;
|
||||
} AccessControlState;
|
||||
#define ACL_STATE_INIT { ACL_STATE_NOT_RECORDED, NULL, NULL, 0UL, { { 0, 0 } }, 0, NULL, 0, 0, 0, NULL }
|
||||
#define ACL_STATE_INIT { ACL_STATE_NOT_RECORDED, NULL, NULL, 0UL, { { 0, 0 } }, 0, NULL, 0, 0, NULL }
|
||||
|
||||
/*
|
||||
* replog moddn param structure
|
||||
|
|
|
|||
Loading…
Reference in a new issue