summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/dirsync.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-11-24 09:20:37 +0100
committerMichael Adam <obnox@samba.org>2012-11-30 17:17:21 +0100
commit60c29a51a062640bf23c85d0d2f650d35a9ab59c (patch)
tree22630a2f85e9a3e71fb680f5d53a39b5b41b3032 /source4/dsdb/samdb/ldb_modules/dirsync.c
parentffaf9bb98b5322cca31ef6a43f8c27ca4e5fe42e (diff)
downloadsamba-60c29a51a062640bf23c85d0d2f650d35a9ab59c.tar.gz
samba-60c29a51a062640bf23c85d0d2f650d35a9ab59c.tar.bz2
samba-60c29a51a062640bf23c85d0d2f650d35a9ab59c.zip
s4:dsdb/dirsync: remove unused 'deletedattr' variable
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/dirsync.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/dirsync.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/dirsync.c b/source4/dsdb/samdb/ldb_modules/dirsync.c
index 662d0c38b7..f75ec521d3 100644
--- a/source4/dsdb/samdb/ldb_modules/dirsync.c
+++ b/source4/dsdb/samdb/ldb_modules/dirsync.c
@@ -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