summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-02-16 19:51:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:39 -0500
commit96edc93c2373b67ae78adbbde7a68a68daa263e0 (patch)
treec43ffa0561483b1784142bec5d2b7a4e52478a4e
parent467da937c7e1361dca1d4a535db96cdb78e10b13 (diff)
downloadsamba-96edc93c2373b67ae78adbbde7a68a68daa263e0.tar.gz
samba-96edc93c2373b67ae78adbbde7a68a68daa263e0.tar.bz2
samba-96edc93c2373b67ae78adbbde7a68a68daa263e0.zip
r5419: Fix some unitialized variable warnings
(This used to be commit 9004b7897416d142ab9e3bee60c7bda589f94750)
-rw-r--r--source3/rpc_server/srv_samr_nt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 291d8713d5..ec85981cbe 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2221,7 +2221,7 @@ NTSTATUS _samr_create_user(pipes_struct *p, SAMR_Q_CREATE_USER *q_u, SAMR_R_CREA
uint32 new_rid = 0;
/* check this, when giving away 'add computer to domain' privs */
uint32 des_access = GENERIC_RIGHTS_USER_ALL_ACCESS;
- BOOL can_add_account;
+ BOOL can_add_account = False;
SE_PRIV se_rights;
/* Get the domain SID stored in the domain policy */
@@ -3006,7 +3006,7 @@ NTSTATUS _samr_set_userinfo(pipes_struct *p, SAMR_Q_SET_USERINFO *q_u, SAMR_R_SE
uint32 acc_granted;
uint32 acc_required;
BOOL ret;
- BOOL has_enough_rights;
+ BOOL has_enough_rights = False;
uint32 acb_info;
DEBUG(5, ("_samr_set_userinfo: %d\n", __LINE__));
@@ -3147,7 +3147,7 @@ NTSTATUS _samr_set_userinfo2(pipes_struct *p, SAMR_Q_SET_USERINFO2 *q_u, SAMR_R_
uint32 acc_granted;
uint32 acc_required;
BOOL ret;
- BOOL has_enough_rights;
+ BOOL has_enough_rights = False;
uint32 acb_info;
DEBUG(5, ("samr_reply_set_userinfo2: %d\n", __LINE__));