summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-04-26 23:36:24 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-04-30 07:51:19 -0400
commitb830ab156f032e2a8823f1365da2ed6801427e8f (patch)
treea3a9bb5a7fcf31d45889199d1876f3025b5bdfc8 /src/tools
parent0d72f05cc87f42a8c2856c96501c64d69541be00 (diff)
downloadsssd-b830ab156f032e2a8823f1365da2ed6801427e8f.tar.gz
sssd-b830ab156f032e2a8823f1365da2ed6801427e8f.tar.xz
sssd-b830ab156f032e2a8823f1365da2ed6801427e8f.zip
Silence warnings with -O2
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) {