svn commit: samba r18803 - in branches/SAMBA_3_0/source/rpc_client: .

jerry at samba.org jerry at samba.org
Fri Sep 22 00:05:54 GMT 2006


Author: jerry
Date: 2006-09-22 00:05:53 +0000 (Fri, 22 Sep 2006)
New Revision: 18803

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

Log:
remove unused function
Modified:
   branches/SAMBA_3_0/source/rpc_client/cli_samr.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_client/cli_samr.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_client/cli_samr.c	2006-09-21 23:57:32 UTC (rev 18802)
+++ branches/SAMBA_3_0/source/rpc_client/cli_samr.c	2006-09-22 00:05:53 UTC (rev 18803)
@@ -1424,24 +1424,6 @@
 
 /* Query display info */
 
-static uint32 get_next_idx(SAMR_R_QUERY_DISPINFO *r)
-{
-	switch (r->switch_level) {
-	case 1:
-		return r->ctr->sam.info1->sam[r->num_entries-1].user_idx;
-	case 2:
-		return r->ctr->sam.info2->sam[r->num_entries-1].user_idx;
-	case 3:
-		return r->ctr->sam.info3->sam[r->num_entries-1].grp_idx;
-	case 4:
-		return r->ctr->sam.info4->sam[r->num_entries-1].user_idx;
-	case 5:
-		return r->ctr->sam.info5->sam[r->num_entries-1].grp_idx;
-	default:
-		return 0;
-	}
-}
-
 NTSTATUS rpccli_samr_query_dispinfo(struct rpc_pipe_client *cli,
 				    TALLOC_CTX *mem_ctx, 
 				    POLICY_HND *domain_pol, uint32 *start_idx,



More information about the samba-cvs mailing list