From 84d33a1ed8e93ee5fae9cb6fb0281be5ac0f7027 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 23 Aug 2022 13:13:13 -0600 Subject: [PATCH] [glyf] Fix compiler warning --- src/OT/glyf/SimpleGlyph.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OT/glyf/SimpleGlyph.hh b/src/OT/glyf/SimpleGlyph.hh index 11e4e9c0e..b99665d6a 100644 --- a/src/OT/glyf/SimpleGlyph.hh +++ b/src/OT/glyf/SimpleGlyph.hh @@ -285,7 +285,7 @@ struct SimpleGlyph x_coords.alloc (2*num_points); y_coords.alloc (2*num_points); - uint8_t lastflag, repeat = 0; + uint8_t lastflag = 0, repeat = 0; for (unsigned i = 0; i < num_points; i++) {