mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
Initialize stack variables. Prelude to factoring out calls to check_user_share_access().
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
8475f206b2
commit
ea86f4e100
@ -147,8 +147,8 @@ static bool check_user_ok(connection_struct *conn,
|
||||
int snum)
|
||||
{
|
||||
unsigned int i;
|
||||
bool readonly_share;
|
||||
bool admin_user;
|
||||
bool readonly_share = false;
|
||||
bool admin_user = false;
|
||||
struct vuid_cache_entry *ent = NULL;
|
||||
uint32_t share_access = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user