From 539fec9256821f47524ad62a47b1425f853842f1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 5 Oct 2008 14:28:02 -0700 Subject: Fix an uninitialized variable warning Not sure if we can ever not get domain and dns_domain, but gcc complained (cherry picked from commit 50b86766442f27748d8d16223c8cd68fd162eabc) --- source/libsmb/dsgetdcname.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/libsmb') diff --git a/source/libsmb/dsgetdcname.c b/source/libsmb/dsgetdcname.c index 2a445cbd5a7..0714aa7c34d 100644 --- a/source/libsmb/dsgetdcname.c +++ b/source/libsmb/dsgetdcname.c @@ -356,6 +356,8 @@ static NTSTATUS store_cldap_reply(TALLOC_CTX *mem_ctx, } } + status = NT_STATUS_OK; + done: data_blob_free(&blob); -- cgit