[v9_10] silence warning

This commit is contained in:
Evan Hunt
2015-02-17 11:37:18 -08:00
parent 5999e976fa
commit a30b7ada90
+2 -1
View File
@@ -166,10 +166,11 @@ set_state(unsigned int family, isc_uint32_t ipnum, const geoipv6_t *ipnum6,
dns_geoip_subtype_t subtype, GeoIPRecord *record,
GeoIPRegion *region, char *name, const char *text, int id)
{
isc_result_t result;
geoip_state_t *state = NULL;
#ifdef ISC_PLATFORM_USETHREADS
isc_result_t result;
result = state_key_init();
if (result != ISC_R_SUCCESS)
return (result);