diff options
author | Tim Potter <tpot@samba.org> | 2005-08-12 21:35:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:30 -0500 |
commit | 36115e7ebcb344000149cf3ec9a458529bbb64d2 (patch) | |
tree | 62d1908e527a38358b481a276f972f81ac385d1a /source3/rpc_server | |
parent | c188a68effd8524cb98cef943ac0099ba09ffe09 (diff) | |
download | samba-36115e7ebcb344000149cf3ec9a458529bbb64d2.tar.gz samba-36115e7ebcb344000149cf3ec9a458529bbb64d2.tar.bz2 samba-36115e7ebcb344000149cf3ec9a458529bbb64d2.zip |
r9275: Remove some dead code. Bugzilla #2982.
(This used to be commit e1fc7d89c26b671e77c7cb14e03690091b671b1d)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 1eb4b1236d..1f79ce5c14 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -804,7 +804,6 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u, uint32 num_account = 0; enum remote_arch_types ra_type = get_remote_arch(); int max_sam_entries = (ra_type == RA_WIN95) ? MAX_SAM_ENTRIES_W95 : MAX_SAM_ENTRIES_W2K; - DOM_SID domain_sid; struct samr_displayentry *entries = NULL; DEBUG(5, ("samr_reply_query_dispinfo: %d\n", __LINE__)); @@ -814,8 +813,6 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u, if (!find_policy_by_hnd(p, &q_u->domain_pol, (void **)&info)) return NT_STATUS_INVALID_HANDLE; - domain_sid = info->sid; - /* * calculate how many entries we will return. * based on |