Fix VC++ /analyze warnings

out\debug\hb-buffer-deserialize-text.rl(47) : warning C6001: Using
uninitialized memory 'pos'.
This commit is contained in:
Behdad Esfahbod 2015-03-26 14:13:53 -04:00
parent 8886ab430c
commit aee685086c
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer,
const char *eof = pe, *tok = NULL;
int cs;
hb_glyph_info_t info;
hb_glyph_position_t pos;
hb_glyph_info_t info = {0};
hb_glyph_position_t pos = {0};
%%{
write init;
write exec;