summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-08-15 21:09:54 +0000
committerTim Potter <tpot@samba.org>2000-08-15 21:09:54 +0000
commitaa3802ba0e2b7c90605104ed4392e94e3d1a80e8 (patch)
treefb5bd9b52b1b3206c4918bba186c5810df04164a
parent0631c6e3a709969f664be0c56f4eaf145e5e2b5c (diff)
downloadsamba-aa3802ba0e2b7c90605104ed4392e94e3d1a80e8.tar.gz
samba-aa3802ba0e2b7c90605104ed4392e94e3d1a80e8.tar.bz2
samba-aa3802ba0e2b7c90605104ed4392e94e3d1a80e8.zip
Merge of uninitialised variable fix from APPLIANCE_HEAD.
(This used to be commit 20a7fefee8c85f02f6a0e2a02c0df04a8b22b7cb)
-rw-r--r--source3/rpc_server/srv_samr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index e80175f71d..fd39f87e79 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -735,8 +735,7 @@ static BOOL samr_reply_enum_dom_aliases(SAMR_Q_ENUM_DOM_ALIASES *q_u,
fstring sam_sid_str;
struct group *grp;
- r_e.status = 0x0;
- r_e.num_entries = 0;
+ ZERO_STRUCT(r_e);
/* find the policy handle. open a policy on it. */
if (r_e.status == 0x0 && !get_lsa_policy_samr_sid(&q_u->pol, &sid))
@@ -840,8 +839,6 @@ static BOOL samr_reply_query_dispinfo(SAMR_Q_QUERY_DISPINFO *q_u, prs_struct *rd
ZERO_STRUCT(r_e);
- r_e.status = 0x0;
-
DEBUG(5,("samr_reply_query_dispinfo: %d\n", __LINE__));
/* find the policy handle. open a policy on it. */