Initialize an array explicitly

Patch from Kurt Kartaltepe
This commit is contained in:
Akira TAGOH 2018-03-02 13:30:00 +09:00
parent e300d863f5
commit 8c96285d21
1 changed files with 1 additions and 1 deletions

View File

@ -2261,7 +2261,7 @@ static int
FcFreeTypeSpacing (FT_Face face) FcFreeTypeSpacing (FT_Face face)
{ {
FT_Int load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING; FT_Int load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING;
FT_Pos advances[3] = {}; FT_Pos advances[3] = {0};
unsigned int num_advances = 0; unsigned int num_advances = 0;
int o; int o;