1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r20100: Remove completely unused parameters

(This used to be commit cc1bcb8148)
This commit is contained in:
Simo Sorce 2006-12-10 22:21:55 +00:00 committed by Gerald (Jerry) Carter
parent 1e6807d8a1
commit 5dd224f260

View File

@ -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) {