Minor, fix gcc maybe-uninitialized complain

I guess all of its field will be initialized anyway here but lets make it more defensive
This commit is contained in:
Ebrahim Byagowi 2019-06-07 10:44:53 -07:00 committed by Behdad Esfahbod
parent 1bada656a8
commit 385e436692
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ struct glyf
+ hb_range (plan->num_output_glyphs ())
| hb_map ([&] (hb_codepoint_t new_gid) {
SubsetGlyph subset_glyph;
SubsetGlyph subset_glyph = {0};
subset_glyph.new_gid = new_gid;
// should never fail: all old gids should be mapped