Commit 8e74ed4d authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix initialization size and silence warning

parent 01660fbd
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment