summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-05 10:55:30 +0200
committerVolker Lendecke <vl@samba.org>2008-10-05 11:08:32 +0200
commit6ee4e81ad13fba417a4e50b5c162a799e44adf27 (patch)
treefb248b31dbc54b43e53d0b266eaf97d5859366ad
parentde5edb1d0c0d60b337d2cbb7151db47d31bfa8d4 (diff)
downloadsamba-6ee4e81ad13fba417a4e50b5c162a799e44adf27.tar.gz
samba-6ee4e81ad13fba417a4e50b5c162a799e44adf27.tar.bz2
samba-6ee4e81ad13fba417a4e50b5c162a799e44adf27.zip
Fix an uninitialized variable warning
Not sure if we can ever not get domain and dns_domain, but gcc complained
-rw-r--r--source3/libsmb/dsgetdcname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 18010aaa1c..08ab8cad14 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -228,6 +228,8 @@ static NTSTATUS store_cldap_reply(TALLOC_CTX *mem_ctx,
}
}
+ status = NT_STATUS_OK;
+
done:
data_blob_free(&blob);