]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
eliminate warning when building without -DBIND9
authorEvan Hunt <each@isc.org>
Thu, 12 Nov 2009 23:43:02 +0000 (23:43 +0000)
committerEvan Hunt <each@isc.org>
Thu, 12 Nov 2009 23:43:02 +0000 (23:43 +0000)
lib/dns/cache.c

index 1538a53cd4c0c4e858ba22b1de648f3a28eb8ad4..6c971441b95936c9d79e5d31989486ce107c7637 100644 (file)
@@ -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));