s4:dsdb/dirsync: remove unused 'deletedattr' variable
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Nov 2012 08:20:37 +0000 (09:20 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 30 Nov 2012 16:17:21 +0000 (17:17 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/dsdb/samdb/ldb_modules/dirsync.c

index 662d0c38b7080de64f37156dacc4e1d960518990..f75ec521d3ef9576af165e8434deb548933ca319 100644 (file)
@@ -75,7 +75,6 @@ static int dirsync_filter_entry(struct ldb_request *req,
        uint32_t n;
        int i;
        unsigned int size, j;
-       uint32_t deletedattr;
        struct ldb_val *replMetaData = NULL;
        struct replPropertyMetaDataBlob rmd;
        const struct dsdb_attribute *attr;
@@ -118,7 +117,6 @@ static int dirsync_filter_entry(struct ldb_request *req,
        */
        rdn = ldb_dn_get_rdn_name(msg->dn);
 
-       deletedattr = 0;
        /*
         * if objectGUID is asked and we are dealing for the referrals entries and
         * the usn searched is 0 then we didn't count the objectGUID as an automatically