diff options
author | Akira TAGOH <akira@tagoh.org> | 2018-03-02 13:30:00 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2018-03-02 13:30:00 +0900 |
commit | 8c96285d216e4fec2d83386dfd49030dfc947a4b (patch) | |
tree | 80b5340eb77befbb1183a9e9205dc8ae4a642b1d | |
parent | e300d863f564f0b7b52fd6fdc1987afb5c116730 (diff) | |
download | fontconfig-8c96285d216e4fec2d83386dfd49030dfc947a4b.tar.gz |
Initialize an array explicitly
Patch from Kurt Kartaltepe
-rw-r--r-- | src/fcfreetype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 49fb39f..36f5aed 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -2261,7 +2261,7 @@ static int FcFreeTypeSpacing (FT_Face face) { 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; int o; |