r20100: Remove completely unused parameters
authorSimo Sorce <idra@samba.org>
Sun, 10 Dec 2006 22:21:55 +0000 (22:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:05 +0000 (14:29 -0500)
(This used to be commit cc1bcb814844e8a03dfa9a310d26ce3f3441e7bb)

source4/lib/ldb/ldb_tdb/ldb_index.c

index 7127c35f43646fd8d263675b3fc249ba76d4dba0..1763c860644bf3900e9bd7ba195ede9cbf2cb4d0 100644 (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) {