BIND 10 trac2850_2, updated. c6cadebf7b86855a7da91f14f66bd7d605ee13ea [2850] Add default case for switch on MemorySegmentOpenMode
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri May 10 12:42:25 UTC 2013
The branch, trac2850_2 has been updated
via c6cadebf7b86855a7da91f14f66bd7d605ee13ea (commit)
from 8ba0a7bc496c135f80c71bf035fcca0687a16e27 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c6cadebf7b86855a7da91f14f66bd7d605ee13ea
Author: Mukund Sivaraman <muks at isc.org>
Date: Fri May 10 18:09:41 2013 +0530
[2850] Add default case for switch on MemorySegmentOpenMode
-----------------------------------------------------------------------
Summary of changes:
.../datasrc/memory/zone_table_segment_mapped.cc | 5 +++++
1 file changed, 5 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_table_segment_mapped.cc b/src/lib/datasrc/memory/zone_table_segment_mapped.cc
index bd40db4..362263c 100644
--- a/src/lib/datasrc/memory/zone_table_segment_mapped.cc
+++ b/src/lib/datasrc/memory/zone_table_segment_mapped.cc
@@ -285,6 +285,11 @@ ZoneTableSegmentMapped::reset(MemorySegmentOpenMode mode,
case READ_ONLY:
segment.reset(openReadOnly(filename));
+ break;
+
+ default:
+ isc_throw(isc::InvalidOperation,
+ "Invalid MemorySegmentOpenMode passed to reset()");
}
current_filename_ = filename;
More information about the bind10-changes
mailing list