From 8c96285d216e4fec2d83386dfd49030dfc947a4b Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 2 Mar 2018 13:30:00 +0900 Subject: [PATCH] Initialize an array explicitly Patch from Kurt Kartaltepe --- src/fcfreetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;