diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-05-26 10:19:00 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-26 12:15:14 -0400 |
commit | 5eadfd50562c19f3e71ee754cd58173a25420996 (patch) | |
tree | 536902e6926e69a7f944afec979742a2186b287f /server/confdb | |
parent | 1eca703ca65ad74673fd20ee97bb8d6e538f0085 (diff) | |
download | sssd-5eadfd50562c19f3e71ee754cd58173a25420996.tar.gz sssd-5eadfd50562c19f3e71ee754cd58173a25420996.tar.bz2 sssd-5eadfd50562c19f3e71ee754cd58173a25420996.zip |
Silence warnings
Diffstat (limited to 'server/confdb')
-rw-r--r-- | server/confdb/confdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 0bafc493..0c30d472 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -64,7 +64,7 @@ int parse_section(TALLOC_CTX *mem_ctx, const char *section, char **sec_dn, const char **rdn_name) { TALLOC_CTX *tmp_ctx; - char *dn; + char *dn = NULL; char *p; const char *s; int l, ret; @@ -776,7 +776,7 @@ int confdb_get_domains(struct confdb_ctx *cdb, struct sss_domain_info **domains) { TALLOC_CTX *tmp_ctx; - struct sss_domain_info *domain, *prevdom; + struct sss_domain_info *domain, *prevdom = NULL; struct sss_domain_info *first = NULL; char **domlist; int ret, i; |