summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-05-31 11:35:39 +0200
committerAndreas Schneider <asn@samba.org>2011-06-01 12:02:16 +0200
commit4640d908f7abd0c0a96e89162adc23d1ee78b71c (patch)
tree952ead33e54ea3179f4aa6d98aa0e3bda96c5b2a
parentf086057ce89a5a09e26b7b0f85e598951a866851 (diff)
downloadsamba-4640d908f7abd0c0a96e89162adc23d1ee78b71c.tar.gz
samba-4640d908f7abd0c0a96e89162adc23d1ee78b71c.tar.bz2
samba-4640d908f7abd0c0a96e89162adc23d1ee78b71c.zip
s3-rpc_server: Remove unused variable pipes_open.
-rw-r--r--source3/rpc_server/rpc_ncacn_np.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c
index cddc9b690f..4446578e3f 100644
--- a/source3/rpc_server/rpc_ncacn_np.c
+++ b/source3/rpc_server/rpc_ncacn_np.c
@@ -38,8 +38,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
-static int pipes_open;
-
static struct pipes_struct *InternalPipes;
/* TODO
@@ -188,8 +186,8 @@ struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
/* add to the list of open contexts */
DLIST_ADD(p->contexts, context_fns);
- DEBUG(4,("Created internal pipe %s (pipes_open=%d)\n",
- get_pipe_name_from_syntax(talloc_tos(), syntax), pipes_open));
+ DEBUG(4,("Created internal pipe %s\n",
+ get_pipe_name_from_syntax(talloc_tos(), syntax)));
talloc_set_destructor(p, close_internal_rpc_pipe_hnd);