mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Warning cleanup: Missing braces in initialization.
This commit is contained in:
parent
27d6497c33
commit
3c7d9415b4
@ -1697,7 +1697,7 @@ pcache_remove_entries_from_cache(
|
|||||||
Filter f = { 0 };
|
Filter f = { 0 };
|
||||||
char filtbuf[ LDAP_LUTIL_UUIDSTR_BUFSIZE + STRLENOF( "(entryUUID=)" ) ];
|
char filtbuf[ LDAP_LUTIL_UUIDSTR_BUFSIZE + STRLENOF( "(entryUUID=)" ) ];
|
||||||
AttributeAssertion ava = ATTRIBUTEASSERTION_INIT;
|
AttributeAssertion ava = ATTRIBUTEASSERTION_INIT;
|
||||||
AttributeName attrs[ 2 ] = { 0 };
|
AttributeName attrs[ 2 ] = {{{ 0 }}};
|
||||||
int s, rc;
|
int s, rc;
|
||||||
|
|
||||||
if ( op == NULL ) {
|
if ( op == NULL ) {
|
||||||
@ -1812,7 +1812,7 @@ pcache_remove_entry_queries_from_cache(
|
|||||||
Filter f = { 0 };
|
Filter f = { 0 };
|
||||||
char filter_str[ LDAP_LUTIL_UUIDSTR_BUFSIZE + STRLENOF( "(queryId=)" ) ];
|
char filter_str[ LDAP_LUTIL_UUIDSTR_BUFSIZE + STRLENOF( "(queryId=)" ) ];
|
||||||
AttributeAssertion ava = ATTRIBUTEASSERTION_INIT;
|
AttributeAssertion ava = ATTRIBUTEASSERTION_INIT;
|
||||||
AttributeName attrs[ 2 ] = { 0 };
|
AttributeName attrs[ 2 ] = {{{ 0 }}};
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
BerVarray vals = NULL;
|
BerVarray vals = NULL;
|
||||||
@ -3258,7 +3258,7 @@ pcache_db_open2(
|
|||||||
BerVarray vals = NULL;
|
BerVarray vals = NULL;
|
||||||
Filter f = { 0 }, f2 = { 0 };
|
Filter f = { 0 }, f2 = { 0 };
|
||||||
AttributeAssertion ava = ATTRIBUTEASSERTION_INIT;
|
AttributeAssertion ava = ATTRIBUTEASSERTION_INIT;
|
||||||
AttributeName attrs[ 2 ] = { 0 };
|
AttributeName attrs[ 2 ] = {{{ 0 }}};
|
||||||
|
|
||||||
connection_fake_init( &conn, &opbuf, thrctx );
|
connection_fake_init( &conn, &opbuf, thrctx );
|
||||||
op = &opbuf.ob_op;
|
op = &opbuf.ob_op;
|
||||||
@ -3424,7 +3424,7 @@ pcache_db_close(
|
|||||||
slap_callback cb = { 0 };
|
slap_callback cb = { 0 };
|
||||||
|
|
||||||
SlapReply rs = { REP_RESULT };
|
SlapReply rs = { REP_RESULT };
|
||||||
Modifications mod = { 0 };
|
Modifications mod = {{ 0 }};
|
||||||
|
|
||||||
thrctx = ldap_pvt_thread_pool_context();
|
thrctx = ldap_pvt_thread_pool_context();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user