Fix VC++ /analyze warnings
out\debug\hb-buffer-deserialize-text.rl(47) : warning C6001: Using uninitialized memory 'pos'.
This commit is contained in:
parent
8886ab430c
commit
aee685086c
|
@ -111,8 +111,8 @@ _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer,
|
||||||
|
|
||||||
const char *eof = pe, *tok = NULL;
|
const char *eof = pe, *tok = NULL;
|
||||||
int cs;
|
int cs;
|
||||||
hb_glyph_info_t info;
|
hb_glyph_info_t info = {0};
|
||||||
hb_glyph_position_t pos;
|
hb_glyph_position_t pos = {0};
|
||||||
%%{
|
%%{
|
||||||
write init;
|
write init;
|
||||||
write exec;
|
write exec;
|
||||||
|
|
Loading…
Reference in New Issue