Fix more excess semi-colon errors

This commit is contained in:
Behdad Esfahbod 2019-05-13 15:41:09 -07:00
parent 513762849a
commit c572732f29
4 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ _hb_options_init ()
p = c + strlen (c); p = c + strlen (c);
#define OPTION(name, symbol) \ #define OPTION(name, symbol) \
if (0 == strncmp (c, name, p - c) && strlen (name) == p - c) u.opts.symbol = true; if (0 == strncmp (c, name, p - c) && strlen (name) == p - c) do { u.opts.symbol = true; } while (0)
OPTION ("uniscribe-bug-compatible", uniscribe_bug_compatible); OPTION ("uniscribe-bug-compatible", uniscribe_bug_compatible);
OPTION ("aat", aat); OPTION ("aat", aat);

View File

@ -98,7 +98,7 @@ hb_ot_name_convert_utf (hb_bytes_t bytes,
dst = dst_next; dst = dst_next;
src = src_next; src = src_next;
}; }
*text_size = dst - text; *text_size = dst - text;
*dst = 0; /* NUL-terminate. */ *dst = 0; /* NUL-terminate. */
@ -110,7 +110,7 @@ hb_ot_name_convert_utf (hb_bytes_t bytes,
{ {
src = in_utf_t::next (src, src_end, &unicode, replacement); src = in_utf_t::next (src, src_end, &unicode, replacement);
dst_len += out_utf_t::encode_len (unicode); dst_len += out_utf_t::encode_len (unicode);
}; }
return dst_len; return dst_len;
} }

View File

@ -278,7 +278,7 @@ matra_position_indic (hb_codepoint_t u, indic_position_t side)
case POS_POST_C: return MATRA_POS_RIGHT (u); case POS_POST_C: return MATRA_POS_RIGHT (u);
case POS_ABOVE_C: return MATRA_POS_TOP (u); case POS_ABOVE_C: return MATRA_POS_TOP (u);
case POS_BELOW_C: return MATRA_POS_BOTTOM (u); case POS_BELOW_C: return MATRA_POS_BOTTOM (u);
}; }
return side; return side;
} }

View File

@ -105,7 +105,7 @@ set_khmer_properties (hb_glyph_info_t &info)
case POS_ABOVE_C: cat = OT_VAbv; break; case POS_ABOVE_C: cat = OT_VAbv; break;
case POS_POST_C: cat = OT_VPst; break; case POS_POST_C: cat = OT_VPst; break;
default: assert (0); default: assert (0);
}; }
info.khmer_category() = cat; info.khmer_category() = cat;
} }