summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Vaner <michal.vaner@nic.cz>2010-12-23 13:09:22 +0100
committerMichal Vaner <michal.vaner@nic.cz>2010-12-23 13:09:22 +0100
commit88316252c6e644619510256df47e85d912d75cb0 (patch)
tree4cb699c9a52ffdcc7954b89d4cea1b76738c8e0e /src
parentMerge #440 (ZoneTable uses RBTree) (diff)
downloadkea-88316252c6e644619510256df47e85d912d75cb0.tar.xz
kea-88316252c6e644619510256df47e85d912d75cb0.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/datasrc/zonetable.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/datasrc/zonetable.cc b/src/lib/datasrc/zonetable.cc
index 3d269a4bbc..18169f0ecb 100644
--- a/src/lib/datasrc/zonetable.cc
+++ b/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