summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-05 01:26:13 +0100
committerGünther Deschner <gd@samba.org>2011-03-08 11:41:31 +0100
commit19117db52c54ed27c570f6f1f21fb4d5096fdc5f (patch)
treea2e4817eace5a7fab558d115c863900624ac1498
parentd92e060dd9def776c3ef9916be4e6e979c4788ae (diff)
downloadsamba-19117db52c54ed27c570f6f1f21fb4d5096fdc5f.tar.gz
samba-19117db52c54ed27c570f6f1f21fb4d5096fdc5f.tar.bz2
samba-19117db52c54ed27c570f6f1f21fb4d5096fdc5f.zip
s3-epmd: remove some unused variables.
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/rpc_server/epmd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/rpc_server/epmd.c b/source3/rpc_server/epmd.c
index 352bc86409..159c04c485 100644
--- a/source3/rpc_server/epmd.c
+++ b/source3/rpc_server/epmd.c
@@ -129,9 +129,6 @@ static void epmd_smb_conf_updated(struct messaging_context *msg,
struct server_id server_id,
DATA_BLOB *data)
{
- struct tevent_context *ev_ctx =
- talloc_get_type_abort(private_data, struct tevent_context);
-
DEBUG(10, ("Got message saying smb.conf was updated. Reloading.\n"));
change_to_root_user();
epmd_reopen_logs();
@@ -168,9 +165,6 @@ static void epmd_sig_hup_handler(struct tevent_context *ev,
void *siginfo,
void *private_data)
{
- struct messaging_context *msg_ctx = talloc_get_type_abort(private_data,
- struct messaging_context);
-
change_to_root_user();
DEBUG(1,("Reloading printers after SIGHUP\n"));