]> git.sur5r.net Git - openldap/commitdiff
init var
authorPierangelo Masarati <ando@openldap.org>
Mon, 3 Mar 2003 21:33:29 +0000 (21:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 3 Mar 2003 21:33:29 +0000 (21:33 +0000)
servers/slapd/back-bdb/search.c
servers/slapd/extended.c

index ffe0b4eb17f8a04e2af78f1d72aa55774c3222b3..ce639d26bceec57f9bf4f85f697d766cfab79194 100644 (file)
@@ -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
 
index f7de88b6941e44742c568e5e0a367b86971eb690..f15fadeec40a0260a91ee8354f81edffd5feecfc 100644 (file)
@@ -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;