summaryrefslogtreecommitdiff
path: root/source3/rpc_server/epmapper
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-19 10:16:32 -0700
committerJeremy Allison <jra@samba.org>2012-06-19 10:27:24 -0700
commit06cf0a95cd9fbe94d452df75395a7ae20dce7403 (patch)
tree22d974eacf21ef6311e1072b667e4127127383f4 /source3/rpc_server/epmapper
parent76e2f29389446626d10e10d38a813a624104b00a (diff)
downloadsamba-06cf0a95cd9fbe94d452df75395a7ae20dce7403.tar.gz
samba-06cf0a95cd9fbe94d452df75395a7ae20dce7403.tar.bz2
samba-06cf0a95cd9fbe94d452df75395a7ae20dce7403.zip
Remove unused variables and code.
Diffstat (limited to 'source3/rpc_server/epmapper')
-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 */