From 498f8a74543c4fdf9743a6704c89a31ecd47741b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 3 Mar 2003 21:33:29 +0000 Subject: [PATCH] init var --- servers/slapd/back-bdb/search.c | 2 +- servers/slapd/extended.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;