Kaydet (Commit) 73a8c2d6 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1224979 Missing break in switch

Change-Id: I539ba11497a8c7384b5ca8ee4792548dca139811
üst 1d088b04
...@@ -610,6 +610,7 @@ void writeEntity( ...@@ -610,6 +610,7 @@ void writeEntity(
switch (ent->getSort()) { switch (ent->getSort()) {
case unoidl::Entity::SORT_MODULE: case unoidl::Entity::SORT_MODULE:
assert(false && "this cannot happen"); assert(false && "this cannot happen");
//deliberate fall-through anyway
case unoidl::Entity::SORT_ENUM_TYPE: case unoidl::Entity::SORT_ENUM_TYPE:
{ {
rtl::Reference<unoidl::EnumTypeEntity> ent2( rtl::Reference<unoidl::EnumTypeEntity> ent2(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment