mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
pointer initialization
This commit is contained in:
parent
d3058532c9
commit
5291b41336
@ -25,7 +25,8 @@ bdb_delete(
|
||||
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
||||
Entry *matched;
|
||||
struct berval pdn = {0, NULL};
|
||||
Entry *e, *p = NULL;
|
||||
Entry *e = NULL;
|
||||
Entry *p = NULL;
|
||||
int rc;
|
||||
const char *text;
|
||||
int manageDSAit = get_manageDSAit( op );
|
||||
|
@ -241,8 +241,8 @@ bdb_modify(
|
||||
{
|
||||
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
||||
int rc;
|
||||
Entry *matched;
|
||||
Entry *e;
|
||||
Entry *matched = NULL;
|
||||
Entry *e = NULL;
|
||||
int manageDSAit = get_manageDSAit( op );
|
||||
const char *text = NULL;
|
||||
char textbuf[SLAP_TEXT_BUFLEN];
|
||||
|
@ -31,7 +31,8 @@ bdb_modrdn(
|
||||
struct berval p_dn, p_ndn;
|
||||
struct berval new_dn = {0, NULL}, new_ndn = {0, NULL};
|
||||
int isroot = -1;
|
||||
Entry *e, *p = NULL;
|
||||
Entry *e = NULL;
|
||||
Entry *p = NULL;
|
||||
Entry *matched;
|
||||
int rc;
|
||||
const char *text;
|
||||
|
@ -23,7 +23,8 @@ bdb_referrals(
|
||||
{
|
||||
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
||||
int rc = LDAP_SUCCESS;
|
||||
Entry *e = NULL, *matched;
|
||||
Entry *e = NULL;
|
||||
Entry *matched = NULL;
|
||||
|
||||
if( op->o_tag == LDAP_REQ_SEARCH ) {
|
||||
/* let search take care of itself */
|
||||
|
Loading…
Reference in New Issue
Block a user