mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +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;
|
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
||||||
Entry *matched;
|
Entry *matched;
|
||||||
struct berval pdn = {0, NULL};
|
struct berval pdn = {0, NULL};
|
||||||
Entry *e, *p = NULL;
|
Entry *e = NULL;
|
||||||
|
Entry *p = NULL;
|
||||||
int rc;
|
int rc;
|
||||||
const char *text;
|
const char *text;
|
||||||
int manageDSAit = get_manageDSAit( op );
|
int manageDSAit = get_manageDSAit( op );
|
||||||
|
@ -241,8 +241,8 @@ bdb_modify(
|
|||||||
{
|
{
|
||||||
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
||||||
int rc;
|
int rc;
|
||||||
Entry *matched;
|
Entry *matched = NULL;
|
||||||
Entry *e;
|
Entry *e = NULL;
|
||||||
int manageDSAit = get_manageDSAit( op );
|
int manageDSAit = get_manageDSAit( op );
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
char textbuf[SLAP_TEXT_BUFLEN];
|
char textbuf[SLAP_TEXT_BUFLEN];
|
||||||
|
@ -31,7 +31,8 @@ bdb_modrdn(
|
|||||||
struct berval p_dn, p_ndn;
|
struct berval p_dn, p_ndn;
|
||||||
struct berval new_dn = {0, NULL}, new_ndn = {0, NULL};
|
struct berval new_dn = {0, NULL}, new_ndn = {0, NULL};
|
||||||
int isroot = -1;
|
int isroot = -1;
|
||||||
Entry *e, *p = NULL;
|
Entry *e = NULL;
|
||||||
|
Entry *p = NULL;
|
||||||
Entry *matched;
|
Entry *matched;
|
||||||
int rc;
|
int rc;
|
||||||
const char *text;
|
const char *text;
|
||||||
|
@ -23,7 +23,8 @@ bdb_referrals(
|
|||||||
{
|
{
|
||||||
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
|
||||||
int rc = LDAP_SUCCESS;
|
int rc = LDAP_SUCCESS;
|
||||||
Entry *e = NULL, *matched;
|
Entry *e = NULL;
|
||||||
|
Entry *matched = NULL;
|
||||||
|
|
||||||
if( op->o_tag == LDAP_REQ_SEARCH ) {
|
if( op->o_tag == LDAP_REQ_SEARCH ) {
|
||||||
/* let search take care of itself */
|
/* let search take care of itself */
|
||||||
|
Loading…
Reference in New Issue
Block a user