summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-12-10 22:21:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:05 -0500
commit5dd224f2609d6202f2c4b617b3217dd57e99548d (patch)
treefc387f0f0897b1478f5c98d6e100d60d61937574 /source4/lib/ldb
parent1e6807d8a1b74e48b5df144469ddb0179adea081 (diff)
downloadsamba-5dd224f2609d6202f2c4b617b3217dd57e99548d.tar.gz
samba-5dd224f2609d6202f2c4b617b3217dd57e99548d.tar.bz2
samba-5dd224f2609d6202f2c4b617b3217dd57e99548d.zip
r20100: Remove completely unused parameters
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_index.c6
1 files changed, 2 insertions, 4 deletions
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) {