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:
parent
ce8ae99701
commit
d14fea4bdc
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue