From 77f7a46e180596fa081f4069edea9efd23e3f0c5 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 11 Apr 2013 22:30:27 -0700 Subject: s4:dsdb: Fix warnings about not set / set but unused / shadowed variables Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Fri Apr 19 13:15:40 CEST 2013 on sn-devel-104 --- source4/dsdb/common/dsdb_dn.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/dsdb/common') diff --git a/source4/dsdb/common/dsdb_dn.c b/source4/dsdb/common/dsdb_dn.c index 0029f5d49e..ab42776226 100644 --- a/source4/dsdb/common/dsdb_dn.c +++ b/source4/dsdb/common/dsdb_dn.c @@ -76,7 +76,6 @@ struct dsdb_dn *dsdb_dn_parse(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, { struct dsdb_dn *dsdb_dn; struct ldb_dn *dn; - const char *data; size_t len; TALLOC_CTX *tmp_ctx; char *p1; @@ -127,8 +126,6 @@ struct dsdb_dn *dsdb_dn_parse(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, if (tmp_ctx == NULL) { return NULL; } - - data = (const char *)dn_blob->data; len = dn_blob->length - 2; p1 = talloc_strndup(tmp_ctx, (const char *)dn_blob->data + 2, len); -- cgit