summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/localgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/localgroup.c')
-rw-r--r--source3/lib/netapi/localgroup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/localgroup.c b/source3/lib/netapi/localgroup.c
index de15dcf699..d3a9aa1270 100644
--- a/source3/lib/netapi/localgroup.c
+++ b/source3/lib/netapi/localgroup.c
@@ -85,8 +85,8 @@ WERROR NetLocalGroupAdd_r(struct libnetapi_ctx *ctx,
struct dom_sid2 *domain_sid = NULL;
uint32_t rid;
- struct LOCALGROUP_INFO_0 *info0;
- struct LOCALGROUP_INFO_1 *info1;
+ struct LOCALGROUP_INFO_0 *info0 = NULL;
+ struct LOCALGROUP_INFO_1 *info1 = NULL;
const char *alias_name = NULL;
@@ -574,7 +574,7 @@ WERROR NetLocalGroupSetInfo_r(struct libnetapi_ctx *ctx,
struct lsa_String lsa_account_name;
struct policy_handle connect_handle, domain_handle, builtin_handle, alias_handle;
struct dom_sid2 *domain_sid = NULL;
- enum samr_AliasInfoEnum alias_level;
+ enum samr_AliasInfoEnum alias_level = 0;
union samr_AliasInfo *alias_info = NULL;
if (!r->in.group_name) {