Commit 0d990f57 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence compiler warnings

parent ac2e2800
......@@ -756,7 +756,7 @@ create_db(isc_mem_t *mctx, dns_name_t *origin, dns_dbtype_t type,
sampledb_t *sampledb = NULL;
isc_result_t result;
dns_dbversion_t *version = NULL;
struct in_addr a_addr = { 0x0100007f };
struct in_addr a_addr;
REQUIRE(type == dns_dbtype_zone);
REQUIRE(rdclass == dns_rdataclass_in);
......@@ -767,6 +767,8 @@ create_db(isc_mem_t *mctx, dns_name_t *origin, dns_dbtype_t type,
UNUSED(driverarg); /* no driver-specific configuration */
a_addr.s_addr = 0x0100007fU;
CHECKED_MEM_GET_PTR(mctx, sampledb);
ZERO_PTR(sampledb);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment