summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-25 13:44:59 +0200
committerVolker Lendecke <vl@samba.org>2008-05-25 13:53:44 +0200
commitaacfa7b3ad7060245d906ea49c39533a6f509f26 (patch)
tree383c0f2d991bce540087b4f7df1ab405ee899f98
parentf1d160f33302519cfc1406579d2236063d827a27 (diff)
downloadsamba-aacfa7b3ad7060245d906ea49c39533a6f509f26.tar.gz
samba-aacfa7b3ad7060245d906ea49c39533a6f509f26.tar.bz2
samba-aacfa7b3ad7060245d906ea49c39533a6f509f26.zip
Fix two bogus uninitalized variable warnings
(This used to be commit 194ea682d9a5c12a0125fecc20349ca9cc3d3ea1)
-rw-r--r--source3/libsmb/dsgetdcname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index d57689cd48..be38db1a3a 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -920,7 +920,8 @@ static NTSTATUS make_dc_info_from_cldap_reply(TALLOC_CTX *mem_ctx,
union nbt_cldap_netlogon *r,
struct netr_DsRGetDCNameInfo **info)
{
- const char *dc_hostname, *dc_domain_name;
+ const char *dc_hostname = NULL;
+ const char *dc_domain_name = NULL;
const char *dc_address = NULL;
const char *dc_forest = NULL;
uint32_t dc_address_type = 0;