Parcourir la source

Compilation fix

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

Reviewed on jabber

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3986 e5f2f494-b856-4b98-b285-d166d9295462
Michal Vaner il y a 14 ans
Parent
commit
88316252c6
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/lib/datasrc/zonetable.cc

+ 2 - 0
src/lib/datasrc/zonetable.cc

@@ -114,6 +114,8 @@ result::Result
 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