From cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 10 Dec 2006 22:21:55 +0000 Subject: [PATCH] r20100: Remove completely unused parameters --- source/lib/ldb/ldb_tdb/ldb_index.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/lib/ldb/ldb_tdb/ldb_index.c b/source/lib/ldb/ldb_tdb/ldb_index.c index 7127c35f4364..1763c860644b 100644 --- a/source/lib/ldb/ldb_tdb/ldb_index.c +++ b/source/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) { -- 2.34.1