diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 14:11:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 14:11:38 +0200 |
commit | f7b3cef45b26321f76ec24e5fd027b1c096d3118 (patch) | |
tree | e463758b3d92996dc1ea843674197a43725d113b /unoidl/source/unoidl-check.cxx | |
parent | a17f715102a368d98f41c7f2dcdb7f5379393d9f (diff) |
Massage code to avoid warnings
Change-Id: I112f5e7c845184b9aa5285ecfa40b5bbb34ffde1
Diffstat (limited to 'unoidl/source/unoidl-check.cxx')
-rw-r--r-- | unoidl/source/unoidl-check.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx index ff01d24d493a..6504f0fd333a 100644 --- a/unoidl/source/unoidl-check.cxx +++ b/unoidl/source/unoidl-check.cxx @@ -206,9 +206,6 @@ void checkMap( std::exit(EXIT_FAILURE); } switch (entA->getSort()) { - case unoidl::Entity::SORT_MODULE: - assert(false && "this cannot happen"); - //deliberate fall-through anyway case unoidl::Entity::SORT_ENUM_TYPE: { rtl::Reference<unoidl::EnumTypeEntity> ent2A( @@ -886,6 +883,8 @@ void checkMap( } break; } + case unoidl::Entity::SORT_MODULE: + assert(false && "this cannot happen"); } } } |