summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-21 05:49:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:03 -0500
commit4870c0dd00135a059ad49b40c68285707ad5ecaa (patch)
tree33033561a070e7f6590215672f13a5fc02e071c6 /source4/dsdb/samdb
parentf415ba5bcfdbf22571526ce4e5e103d1eebab5c5 (diff)
downloadsamba-4870c0dd00135a059ad49b40c68285707ad5ecaa.tar.gz
samba-4870c0dd00135a059ad49b40c68285707ad5ecaa.tar.bz2
samba-4870c0dd00135a059ad49b40c68285707ad5ecaa.zip
r25268: Thanks to Andrew Kroeger for pointing out on IRC that this is
compleatly dead code. Andrew Bartlett (This used to be commit 5838aca79b11fd8a94567a04c1c1a99bc4343547)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/samdb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c
index 288ed2909d..01c311b1dc 100644
--- a/source4/dsdb/samdb/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
@@ -636,10 +636,6 @@ struct ldb_message_element *samdb_find_attribute(struct ldb_context *ldb,
{
int i;
struct ldb_message_element *el = ldb_msg_find_element(msg, name);
- struct ldb_val v;
-
- v.data = discard_const_p(uint8_t, value);
- v.length = strlen(value);
if (!el) {
return NULL;