From 06cf0a95cd9fbe94d452df75395a7ae20dce7403 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 19 Jun 2012 10:16:32 -0700 Subject: Remove unused variables and code. --- source3/rpc_server/epmapper/srv_epmapper.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c index 4fea5887a4..5cd25edc63 100644 --- a/source3/rpc_server/epmapper/srv_epmapper.c +++ b/source3/rpc_server/epmapper/srv_epmapper.c @@ -538,7 +538,6 @@ error_status_t _epm_Lookup(struct pipes_struct *p, if (r->in.entry_handle == NULL || ndr_policy_handle_empty(r->in.entry_handle)) { - struct GUID *obj; char *srv_addr = NULL; DEBUG(7, ("_epm_Lookup: No entry_handle found, creating it.\n")); @@ -549,12 +548,6 @@ error_status_t _epm_Lookup(struct pipes_struct *p, goto done; } - if (r->in.object == NULL || GUID_all_zero(r->in.object)) { - obj = NULL; - } else { - obj = r->in.object; - } - if (p->local_address != NULL) { srv_addr = tsocket_address_inet_addr_string(p->local_address, tmp_ctx); @@ -857,7 +850,6 @@ error_status_t _epm_Map(struct pipes_struct *p, error_status_t rc; uint32_t count = 0; uint32_t num_towers = 0; - uint32_t num_floors = 0; uint32_t i; bool ok; @@ -897,7 +889,6 @@ error_status_t _epm_Map(struct pipes_struct *p, * | Floor 6 | Routing | * +---------+-------------------------------------------------------+ */ - num_floors = r->in.map_tower->tower.num_floors; floors = r->in.map_tower->tower.floors; /* We accept NDR as the transfer syntax */ -- cgit