From 06cf0a95cd9fbe94d452df75395a7ae20dce7403 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 19 Jun 2012 10:16:32 -0700 Subject: [PATCH] Remove unused variables and code. --- source3/rpc_server/epmapper/srv_epmapper.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c index 4fea5887a47..5cd25edc637 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 */ -- 2.11.4.GIT