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 authored and Behdad Esfahbod committed 2019-06-07 10:49:57 -07:00
1 parent 1bada656a8
commit 385e436692
1 file changed
+1 -1
+1 -1
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