From 5dd224f2609d6202f2c4b617b3217dd57e99548d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 10 Dec 2006 22:21:55 +0000 Subject: r20100: Remove completely unused parameters (This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb) --- source4/lib/ldb/ldb_tdb/ldb_index.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c index 7127c35f43..1763c86064 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_index.c +++ b/source4/lib/ldb/ldb_tdb/ldb_index.c @@ -763,7 +763,6 @@ int ltdb_search_indexed(struct ldb_handle *handle) */ static int ltdb_index_add1_new(struct ldb_context *ldb, struct ldb_message *msg, - struct ldb_message_element *el, const char *dn) { struct ldb_message_element *el2; @@ -800,7 +799,6 @@ static int ltdb_index_add1_new(struct ldb_context *ldb, */ static int ltdb_index_add1_add(struct ldb_context *ldb, struct ldb_message *msg, - struct ldb_message_element *el, int idx, const char *dn) { @@ -873,9 +871,9 @@ static int ltdb_index_add1(struct ldb_module *module, const char *dn, } if (i == msg->num_elements) { - ret = ltdb_index_add1_new(ldb, msg, el, dn); + ret = ltdb_index_add1_new(ldb, msg, dn); } else { - ret = ltdb_index_add1_add(ldb, msg, el, i, dn); + ret = ltdb_index_add1_add(ldb, msg, i, dn); } if (ret == 0) { -- cgit