summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-21 10:25:22 +0200
committerAmitay Isaacs <amitay@samba.org>2013-06-21 17:32:16 +0200
commitd2642cb1b9cde5297d0b0b457f26cd39e3045905 (patch)
tree2711e8fb8e44915f5813407b7fd5e59c48e2f317 /source4/rpc_server
parentad86e2a599812bc7b7d0037d3acd3f3e6973c4be (diff)
downloadsamba-d2642cb1b9cde5297d0b0b457f26cd39e3045905.tar.gz
samba-d2642cb1b9cde5297d0b0b457f26cd39e3045905.tar.bz2
samba-d2642cb1b9cde5297d0b0b457f26cd39e3045905.zip
dns: Fix CID 1034969 Uninitialized scalar variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Fri Jun 21 17:32:16 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dnsserver/dnsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dnsserver/dnsutils.c b/source4/rpc_server/dnsserver/dnsutils.c
index 8140296186..9f956460f9 100644
--- a/source4/rpc_server/dnsserver/dnsutils.c
+++ b/source4/rpc_server/dnsserver/dnsutils.c
@@ -281,7 +281,7 @@ struct ldb_dn *dnsserver_name_to_dn(TALLOC_CTX *mem_ctx, struct dnsserver_zone *
uint32_t dnsserver_zone_to_request_filter(const char *zone_name)
{
- uint32_t request_filter;
+ uint32_t request_filter = 0;
if (strcmp(zone_name, "..AllZones") == 0) {
request_filter = DNS_ZONE_REQUEST_PRIMARY