From: Pierangelo Masarati Date: Mon, 3 Mar 2003 21:33:29 +0000 (+0000) Subject: init var X-Git-Tag: NO_SLAP_OP_BLOCKS~196 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=498f8a74543c4fdf9743a6704c89a31ecd47741b;p=openldap init var --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index ffe0b4eb17..ce639d26bc 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -75,7 +75,7 @@ bdb_search( #ifdef LDAP_SYNC int rc_sync = 0; - int entry_sync_state; + int entry_sync_state = -1; AttributeName null_attr; #endif diff --git a/servers/slapd/extended.c b/servers/slapd/extended.c index f7de88b694..f15fadeec4 100644 --- a/servers/slapd/extended.c +++ b/servers/slapd/extended.c @@ -108,7 +108,7 @@ do_extended( struct berval reqdata = {0, NULL}; ber_tag_t tag; ber_len_t len; - struct extop_list *ext; + struct extop_list *ext = NULL; const char *text; BerVarray refs; char *rspoid;