summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-22 00:05:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:59 -0500
commitd56c3dfdaac3d58f3272f76adda5f057c137681f (patch)
tree5d9f8bac47339d8e533e4d61a0d4a0dc8795b32b
parent7ba2554d88a187ca1f4f40014363fdf9de2223a0 (diff)
downloadsamba-d56c3dfdaac3d58f3272f76adda5f057c137681f.tar.gz
samba-d56c3dfdaac3d58f3272f76adda5f057c137681f.tar.bz2
samba-d56c3dfdaac3d58f3272f76adda5f057c137681f.zip
r18803: remove unused function
(This used to be commit 964d95bce6bbaf985ed8cd50daee8216bc446a28)
-rw-r--r--source3/rpc_client/cli_samr.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 1ea1d33ffc..fceafeca85 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -1424,24 +1424,6 @@ void get_query_dispinfo_params(int loop_count, uint32 *max_entries,
/* 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,