summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/epmapper/srv_epmapper.c9
1 files changed, 0 insertions, 9 deletions
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 */