From 2f6486b55f05947205c380e071b16cd40af4d057 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 23 Aug 2001 18:13:56 +0000 Subject: Fix up some unused variables and functions, fix up formatting (This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c) --- source3/auth/auth_util.c | 1 - source3/smbd/auth_util.c | 1 - source3/smbd/session.c | 2 -- source3/utils/status.c | 14 -------------- 4 files changed, 18 deletions(-) diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 1c12a4322d..4a0f45f843 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -137,5 +137,4 @@ void smb_user_control(char *unix_user, uint32 nt_status) if(lp_deluser_script() && smb_getpwnam(unix_user,True)) smb_delete_user(unix_user); } - } diff --git a/source3/smbd/auth_util.c b/source3/smbd/auth_util.c index 1c12a4322d..4a0f45f843 100644 --- a/source3/smbd/auth_util.c +++ b/source3/smbd/auth_util.c @@ -137,5 +137,4 @@ void smb_user_control(char *unix_user, uint32 nt_status) if(lp_deluser_script() && smb_getpwnam(unix_user,True)) smb_delete_user(unix_user); } - } diff --git a/source3/smbd/session.c b/source3/smbd/session.c index 78c635d7cf..eaff78c685 100644 --- a/source3/smbd/session.c +++ b/source3/smbd/session.c @@ -38,8 +38,6 @@ BOOL session_claim(uint16 vuid) int i; TDB_DATA data; struct sessionid sessionid; - pstring dbuf; - int dlen; uint32 pid = (uint32)sys_getpid(); TDB_DATA key; fstring keystr; diff --git a/source3/utils/status.c b/source3/utils/status.c index 36de6858f1..c41551b7ec 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -77,15 +77,6 @@ static unsigned int Ucrit_checkUsername(char *username) return 0; } -static void Ucrit_addPid(pid_t pid) -{ - int i; - if ( !Ucrit_IsActive) return; - for (i=0;i