From ecbd2b5d1e891472aab2d1ebd2cbadef0db86060 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 May 2003 02:35:33 +0000 Subject: Remove unused variables (This used to be commit 2f631769f836baeec669456f786ecb38c81d9a23) --- source3/lib/module.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3') diff --git a/source3/lib/module.c b/source3/lib/module.c index c47ca96dcc..811efae311 100644 --- a/source3/lib/module.c +++ b/source3/lib/module.c @@ -162,8 +162,6 @@ void module_path_get_name(const char *path, pstring name) static smb_idle_event_struct *smb_idle_event_list = NULL; NTSTATUS smb_register_idle_event(smb_idle_event_struct *idle_event) { - smb_idle_event_struct *tmp_event = smb_idle_event_list; - if (!idle_event) { return NT_STATUS_INVALID_PARAMETER; } @@ -220,8 +218,6 @@ void smb_run_idle_events(time_t now) static smb_exit_event_struct *smb_exit_event_list = NULL; NTSTATUS smb_register_exit_event(smb_exit_event_struct *exit_event) { - smb_exit_event_struct *tmp_event = smb_exit_event_list; - if (!exit_event) { return NT_STATUS_INVALID_PARAMETER; } -- cgit