summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:50:36 +0100
committerJeremy Allison <jra@samba.org>2013-12-12 14:21:28 -0800
commitfa506569913ec437f5a943eb0afd27df5358411f (patch)
treec242db7dc8abf8cbb3960becd864b0db7e855aec
parentca8353efaa217b6384f2147f54ca347b0ae70bf3 (diff)
downloadsamba-fa506569913ec437f5a943eb0afd27df5358411f.tar.gz
samba-fa506569913ec437f5a943eb0afd27df5358411f.tar.xz
samba-fa506569913ec437f5a943eb0afd27df5358411f.zip
s3:winbindd fix a compiler warning
about a potentially uninitialized variable Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/winbindd/wb_group_members.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_group_members.c b/source3/winbindd/wb_group_members.c
index ecd07cf655..ec36cdacbf 100644
--- a/source3/winbindd/wb_group_members.c
+++ b/source3/winbindd/wb_group_members.c
@@ -139,7 +139,7 @@ static struct tevent_req *wb_groups_members_send(TALLOC_CTX *mem_ctx,
int num_groups,
struct wbint_Principal *groups)
{
- struct tevent_req *req, *subreq;
+ struct tevent_req *req, *subreq = NULL;
struct wb_groups_members_state *state;
NTSTATUS status;
@@ -290,7 +290,7 @@ struct tevent_req *wb_group_members_send(TALLOC_CTX *mem_ctx,
enum lsa_SidType type,
int max_depth)
{
- struct tevent_req *req, *subreq;
+ struct tevent_req *req, *subreq = NULL;
struct wb_group_members_state *state;
NTSTATUS status;