From: Evan Hunt Date: Thu, 12 Nov 2009 23:43:02 +0000 (+0000) Subject: eliminate warning when building without -DBIND9 X-Git-Tag: v9.7.0b3~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86132f0ef54d263cd825dac9db3c992eeff3e8d9;p=thirdparty%2Fbind9.git eliminate warning when building without -DBIND9 --- diff --git a/lib/dns/cache.c b/lib/dns/cache.c index 1538a53cd4c..6c971441b95 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));