Remove default clause in minor switch statements

Bending to clang warnings...
https://bugs.chromium.org/p/chromium/issues/detail?id=593057
This commit is contained in:
Behdad Esfahbod 2016-03-08 12:16:41 -08:00
parent ce8ae99701
commit d14fea4bdc
2 changed files with 0 additions and 5 deletions

View File

@ -742,10 +742,6 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
switch (indic_plan->config->base_pos)
{
default:
assert (false);
HB_FALLTHROUGH;
case BASE_POS_LAST:
{
/* -> starting from the end of the syllable, move backwards */

View File

@ -139,7 +139,6 @@ thai_pua_shape (hb_codepoint_t u, thai_action_t action, hb_font_t *font)
};
switch (action) {
default: assert (false); HB_FALLTHROUGH;
case NOP: return u;
case SD: pua_mappings = SD_mappings; break;
case SDL: pua_mappings = SDL_mappings; break;