svn commit: samba r20100 - in branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .

idra at samba.org idra at samba.org
Sun Dec 10 22:21:56 GMT 2006


Author: idra
Date: 2006-12-10 22:21:55 +0000 (Sun, 10 Dec 2006)
New Revision: 20100

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20100

Log:

Remove completely unused parameters


Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c	2006-12-10 22:21:20 UTC (rev 20099)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c	2006-12-10 22:21:55 UTC (rev 20100)
@@ -763,7 +763,6 @@
 */
 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_add(struct ldb_context *ldb, 
 			       struct ldb_message *msg,
-			       struct ldb_message_element *el,
 			       int idx,
 			       const char *dn)
 {
@@ -873,9 +871,9 @@
 	}
 
 	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) {



More information about the samba-cvs mailing list