[svn] commit: r4101 - /trunk/src/lib/datasrc/memory_datasrc.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Dec 30 12:14:25 UTC 2010
Author: vorner
Date: Thu Dec 30 12:14:24 2010
New Revision: 4101
Log:
Comment explaining previous commit
Modified:
trunk/src/lib/datasrc/memory_datasrc.cc
Modified: trunk/src/lib/datasrc/memory_datasrc.cc
==============================================================================
--- trunk/src/lib/datasrc/memory_datasrc.cc (original)
+++ trunk/src/lib/datasrc/memory_datasrc.cc Thu Dec 30 12:14:24 2010
@@ -175,6 +175,9 @@
// This case should not happen because we enable callback only
// when we add an RR searched for above.
assert(0);
+ // This is here to avoid warning (therefore compilation error)
+ // in case assert is turned off. Otherwise we could get "Control
+ // reached end of non-void function".
return (false);
}
More information about the bind10-changes
mailing list