git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize stack variables. Prelude to factoring out calls to check_user_share_access().
[kai/samba.git]
/
source3
/
smbd
/
uid.c
diff --git
a/source3/smbd/uid.c
b/source3/smbd/uid.c
index f551e50eda46b21cfa07be5aa81d310310f25415..98020561acfd110d7938f570e1788bfe5d1dca97 100644
(file)
--- a/
source3/smbd/uid.c
+++ b/
source3/smbd/uid.c
@@
-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;