diff options
Diffstat (limited to 'source4/dsdb/dns')
-rw-r--r-- | source4/dsdb/dns/dns_update.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/dns/dns_update.c b/source4/dsdb/dns/dns_update.c index aa617c6aeca..972459a28ee 100644 --- a/source4/dsdb/dns/dns_update.c +++ b/source4/dsdb/dns/dns_update.c @@ -456,7 +456,8 @@ static NTSTATUS dnsupdate_dnsupdate_RODC(struct irpc_message *msg, struct tevent_req *req; int i, ret; struct GUID ntds_guid; - const char *site, *dnsdomain, *dnsforest, *ntdsguid, *hostname; + const char *site, *dnsdomain, *dnsforest, *ntdsguid; + const char *hostname = NULL; struct ldb_dn *sid_dn; const char *attrs[] = { "dNSHostName", NULL }; struct ldb_result *res; |