[svn] commit: r3986 - /trunk/src/lib/datasrc/zonetable.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Dec 23 12:09:22 UTC 2010


Author: vorner
Date: Thu Dec 23 12:09:22 2010
New Revision: 3986

Log:
Compilation fix

Some compilers complain when there's no return after assert(0)

Reviewed on jabber

Modified:
    trunk/src/lib/datasrc/zonetable.cc

Modified: trunk/src/lib/datasrc/zonetable.cc
==============================================================================
--- trunk/src/lib/datasrc/zonetable.cc (original)
+++ trunk/src/lib/datasrc/zonetable.cc Thu Dec 23 12:09:22 2010
@@ -114,6 +114,8 @@
 ZoneTable::removeZone(const Name&) {
     // TODO Implement
     assert(0);
+    // This should not ever be returned, the assert should kill us by now
+    return (result::SUCCESS);
 }
 
 ZoneTable::FindResult




More information about the bind10-changes mailing list