src/hb-ot-shape-complex-indic.cc | 4 ---- src/hb-ot-shape-complex-thai.cc | 1 - 2 files changed, 5 deletions(-)
New commits: commit d14fea4bdcc1423fe9a585af3abdefa9605d17e6 Author: Behdad Esfahbod <beh...@behdad.org> Date: Tue Mar 8 12:16:41 2016 -0800 Remove default clause in minor switch statements Bending to clang warnings... https://bugs.chromium.org/p/chromium/issues/detail?id=593057 diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index c8fc2b5..1e151a7 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -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 */ diff --git a/src/hb-ot-shape-complex-thai.cc b/src/hb-ot-shape-complex-thai.cc index 58392b6..4322b0d 100644 --- a/src/hb-ot-shape-complex-thai.cc +++ b/src/hb-ot-shape-complex-thai.cc @@ -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; _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz