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:
parent
1bada656a8
commit
385e436692
|
@ -180,7 +180,7 @@ struct glyf
|
||||||
|
|
||||||
+ hb_range (plan->num_output_glyphs ())
|
+ hb_range (plan->num_output_glyphs ())
|
||||||
| hb_map ([&] (hb_codepoint_t new_gid) {
|
| hb_map ([&] (hb_codepoint_t new_gid) {
|
||||||
SubsetGlyph subset_glyph;
|
SubsetGlyph subset_glyph = {0};
|
||||||
subset_glyph.new_gid = new_gid;
|
subset_glyph.new_gid = new_gid;
|
||||||
|
|
||||||
// should never fail: all old gids should be mapped
|
// should never fail: all old gids should be mapped
|
||||||
|
|
Loading…
Reference in New Issue