1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

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
This commit is contained in:
Volker Lendecke 2013-06-21 10:25:22 +02:00 committed by Amitay Isaacs
parent ad86e2a599
commit d2642cb1b9

View File

@ -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