]> git.sur5r.net Git - openldap/commitdiff
Remove lint
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 16 Aug 2007 14:41:48 +0000 (14:41 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 16 Aug 2007 14:41:48 +0000 (14:41 +0000)
servers/slapd/slapadd.c
servers/slapd/syncrepl.c

index 547bfebdd41d575ff237754e3f34a6f8f1e395f6..f28dd17f224b8098e24b1d6c5385311688742271 100644 (file)
@@ -60,7 +60,6 @@ slapadd( int argc, char **argv )
        Operation *op;
 
        int match;
-       int ret;
        int checkvals;
        int lineno, nextline;
        int lmax;
index a2acceaf848f56529d51389c2317a3338c82249a..fee5cfd0ba8f3cdfcb4da08423d9a01b7922e816 100644 (file)
@@ -1801,7 +1801,6 @@ syncrepl_entry(
        slap_callback   cb = { NULL, NULL, NULL, NULL };
        struct berval   *syncuuid_bv = NULL;
        struct berval   syncUUID_strrep = BER_BVNULL;
-       struct berval   uuid_bv = BER_BVNULL;
 
        SlapReply       rs_search = {REP_RESULT};
        SlapReply       rs_delete = {REP_RESULT};
@@ -2815,7 +2814,7 @@ dn_callback(
                        if ( dni->new_entry ) {
                                Modifications **modtail, **ml;
                                Attribute *old, *new;
-                               int i, is_ctx;
+                               int is_ctx;
 
                                is_ctx = dn_match( &rs->sr_entry->e_nname,
                                        &op->o_bd->be_nsuffix[0] );