diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-01-08 22:32:12 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-01-12 19:52:20 +0100 |
commit | aa759de6b3ee7766925c0e713253bf01f30967e5 (patch) | |
tree | c4c1d748058e5f20cf771827d242dc7c0b8aac6f /source4/dns_server | |
parent | d35d2bf392f819c8579f0d024a7c398732bdeb09 (diff) | |
download | samba-aa759de6b3ee7766925c0e713253bf01f30967e5.tar.gz samba-aa759de6b3ee7766925c0e713253bf01f30967e5.tar.bz2 samba-aa759de6b3ee7766925c0e713253bf01f30967e5.zip |
s4:dns_server/dlz_bind9.c - initialise "ret" variables
Diffstat (limited to 'source4/dns_server')
-rw-r--r-- | source4/dns_server/dlz_bind9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 7f5125dbf6..d2fa81aee2 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -680,7 +680,7 @@ static isc_result_t dlz_lookup_types(struct dlz_bind9_data *state, { TALLOC_CTX *tmp_ctx = talloc_new(state); const char *attrs[] = { "dnsRecord", NULL }; - int ret, i; + int ret = LDB_SUCCESS, i; struct ldb_result *res; struct ldb_message_element *el; struct ldb_dn *dn; @@ -767,7 +767,7 @@ _PUBLIC_ isc_result_t dlz_allnodes(const char *zone, void *dbdata, { struct dlz_bind9_data *state = talloc_get_type_abort(dbdata, struct dlz_bind9_data); const char *attrs[] = { "dnsRecord", NULL }; - int ret, i, j; + int ret = LDB_SUCCESS, i, j; struct ldb_dn *dn; struct ldb_result *res; TALLOC_CTX *tmp_ctx = talloc_new(state); |