mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Warning cleanup: Missing braces in initialization.
This commit is contained in:
parent
c2a317415c
commit
27d6497c33
@ -34,7 +34,7 @@ bdb_add(Operation *op, SlapReply *rs )
|
||||
AttributeDescription *entry = slap_schema.si_ad_entry;
|
||||
DB_TXN *ltid = NULL, *lt2, *rtxn;
|
||||
ID eid = NOID;
|
||||
struct bdb_op_info opinfo = {0};
|
||||
struct bdb_op_info opinfo = {{{ 0 }}};
|
||||
int subentry;
|
||||
DB_LOCK lock;
|
||||
|
||||
|
@ -35,7 +35,7 @@ bdb_delete( Operation *op, SlapReply *rs )
|
||||
AttributeDescription *children = slap_schema.si_ad_children;
|
||||
AttributeDescription *entry = slap_schema.si_ad_entry;
|
||||
DB_TXN *ltid = NULL, *lt2;
|
||||
struct bdb_op_info opinfo = {0};
|
||||
struct bdb_op_info opinfo = {{{ 0 }}};
|
||||
ID eid;
|
||||
|
||||
DB_LOCK lock, plock;
|
||||
|
@ -330,7 +330,7 @@ bdb_modify( Operation *op, SlapReply *rs )
|
||||
char textbuf[SLAP_TEXT_BUFLEN];
|
||||
size_t textlen = sizeof textbuf;
|
||||
DB_TXN *ltid = NULL, *lt2;
|
||||
struct bdb_op_info opinfo = {0};
|
||||
struct bdb_op_info opinfo = {{{ 0 }}};
|
||||
Entry dummy = {0};
|
||||
int fakeroot = 0;
|
||||
|
||||
|
@ -36,7 +36,7 @@ bdb_modrdn( Operation *op, SlapReply *rs )
|
||||
char textbuf[SLAP_TEXT_BUFLEN];
|
||||
size_t textlen = sizeof textbuf;
|
||||
DB_TXN *ltid = NULL, *lt2;
|
||||
struct bdb_op_info opinfo = {0};
|
||||
struct bdb_op_info opinfo = {{{ 0 }}};
|
||||
Entry dummy = {0};
|
||||
|
||||
Entry *np = NULL; /* newSuperior Entry */
|
||||
|
@ -377,7 +377,7 @@ matching_rule_use_init( void )
|
||||
|
||||
LDAP_SLIST_FOREACH( mr, &mr_list, smr_next ) {
|
||||
AttributeType *at;
|
||||
MatchingRuleUse mru_storage = { 0 },
|
||||
MatchingRuleUse mru_storage = {{ 0 }},
|
||||
*mru = &mru_storage;
|
||||
|
||||
char **applies_oids = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user