]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
address statement not reached warning
authorMark Andrews <marka@isc.org>
Fri, 6 Nov 2009 04:12:15 +0000 (04:12 +0000)
committerMark Andrews <marka@isc.org>
Fri, 6 Nov 2009 04:12:15 +0000 (04:12 +0000)
lib/dns/cache.c

index 9752836f96a10b80a8dc26dca036a44023bc5cfb..1538a53cd4c0c4e858ba22b1de648f3a28eb8ad4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: cache.c,v 1.85 2009/09/01 00:22:26 jinmei Exp $ */
+/* $Id: cache.c,v 1.86 2009/11/06 04:12:15 marka Exp $ */
 
 /*! \file */
 
@@ -482,11 +482,11 @@ dns_cache_dump(dns_cache_t *cache) {
        result = dns_master_dump(cache->mctx, cache->db, NULL,
                                 &dns_master_style_cache, cache->filename);
        UNLOCK(&cache->filelock);
+       return (result);
 #else
        return (ISC_R_NOTIMPLEMENTED);
 #endif
 
-       return (result);
 }
 
 void