From 86132f0ef54d263cd825dac9db3c992eeff3e8d9 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 12 Nov 2009 23:43:02 +0000 Subject: [PATCH] eliminate warning when building without -DBIND9 --- lib/dns/cache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/cache.c b/lib/dns/cache.c index 1538a53cd4..6c971441b9 100644 --- a/lib/dns/cache.c +++ b/lib/dns/cache.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: cache.c,v 1.86 2009/11/06 04:12:15 marka Exp $ */ +/* $Id: cache.c,v 1.87 2009/11/12 23:43:02 each Exp $ */ /*! \file */ @@ -470,7 +470,9 @@ dns_cache_load(dns_cache_t *cache) { isc_result_t dns_cache_dump(dns_cache_t *cache) { +#ifdef BIND9 isc_result_t result; +#endif REQUIRE(VALID_CACHE(cache));