From 10bac21bb5b25cf20c2198934e99e444625dfd97 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 18 Jun 2019 15:15:06 -0700 Subject: [PATCH] [coretext/uniscribe/directwrite] Remove extra semicolons Fixes https://github.com/harfbuzz/harfbuzz/pull/1783 --- src/hb-coretext.cc | 2 +- src/hb-directwrite.cc | 2 +- src/hb-uniscribe.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 20cfe4a60..4a299a6ee 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -652,7 +652,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan, DEBUG_MSG (CORETEXT, nullptr, __VA_ARGS__); \ ret = false; \ goto fail; \ - } HB_STMT_END; + } HB_STMT_END bool ret = true; CFStringRef string_ref = nullptr; diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc index 85ba8b627..9b851148b 100644 --- a/src/hb-directwrite.cc +++ b/src/hb-directwrite.cc @@ -176,7 +176,7 @@ _hb_directwrite_shaper_face_data_create (hb_face_t *face) HB_STMT_START { \ DEBUG_MSG (DIRECTWRITE, nullptr, __VA_ARGS__); \ return nullptr; \ - } HB_STMT_END; + } HB_STMT_END if (FAILED (hr)) FAIL ("Failed to load font file from data!"); diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc index fceda5244..88f429401 100644 --- a/src/hb-uniscribe.cc +++ b/src/hb-uniscribe.cc @@ -724,7 +724,7 @@ _hb_uniscribe_shape (hb_shape_plan_t *shape_plan, HB_STMT_START { \ DEBUG_MSG (UNISCRIBE, nullptr, __VA_ARGS__); \ return false; \ - } HB_STMT_END; + } HB_STMT_END HRESULT hr;