summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-05 14:28:02 -0700
committerKarolin Seeger <kseeger@samba.org>2008-10-15 18:03:40 +0200
commit539fec9256821f47524ad62a47b1425f853842f1 (patch)
treeee91172c1a99940f2c7e5505085fd3f9fcdcae34 /source/libsmb
parent4e78c05fa07d1830da66ffc78df3b3358009ea40 (diff)
downloadsamba-539fec9256821f47524ad62a47b1425f853842f1.tar.gz
samba-539fec9256821f47524ad62a47b1425f853842f1.tar.xz
samba-539fec9256821f47524ad62a47b1425f853842f1.zip
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)
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/dsgetdcname.c2
1 files changed, 2 insertions, 0 deletions
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);