summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_sync_ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
index 45fd5731d..a92f8caa6 100644
--- a/src/tools/sss_sync_ops.c
+++ b/src/tools/sss_sync_ops.c
@@ -198,8 +198,8 @@ int usermod(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
struct ops_ctx *data)
{
- struct sysdb_attrs *attrs;
- struct ldb_dn *member_dn;
+ struct sysdb_attrs *attrs = NULL;
+ struct ldb_dn *member_dn = NULL;
int ret;
if (data->addgroups || data->rmgroups) {
@@ -258,8 +258,8 @@ int groupmod(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
struct ops_ctx *data)
{
- struct sysdb_attrs *attrs;
- struct ldb_dn *member_dn;
+ struct sysdb_attrs *attrs = NULL;
+ struct ldb_dn *member_dn = NULL;
int ret;
if (data->addgroups || data->rmgroups) {