Remove clang warnings.

* src/autofit/aflatin.c (af_latin_sort_blue): Add missing `static'
keyword.

* src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates):
Initialize some variables.
This commit is contained in:
Werner Lemberg 2017-02-18 10:42:48 +01:00
parent 2b0ac18990
commit 467b026cd5
3 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,14 @@
2017-02-17 Werner Lemberg <wl@gnu.org>
Remove clang warnings.
* src/autofit/aflatin.c (af_latin_sort_blue): Add missing `static'
keyword.
* src/base/ftmm.c (FT_Set_Var_Design_Coordinates,
FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates):
Initialize some variables.
2017-02-16 Nikolaus Waxweiler <madigens@gmail.com>
Werner Lemberg <wl@gnu.org>

View File

@ -265,7 +265,7 @@
}
void
static void
af_latin_sort_blue( FT_UInt count,
AF_LatinBlue* table )
{

View File

@ -188,8 +188,8 @@
FT_Fixed* coords )
{
FT_Error error;
FT_Service_MultiMasters service_mm;
FT_Service_MetricsVariations service_mvar;
FT_Service_MultiMasters service_mm = NULL;
FT_Service_MetricsVariations service_mvar = NULL;
/* check of `face' delayed to `ft_face_get_mm_service' */
@ -261,8 +261,8 @@
FT_Fixed* coords )
{
FT_Error error;
FT_Service_MultiMasters service_mm;
FT_Service_MetricsVariations service_mvar;
FT_Service_MultiMasters service_mm = NULL;
FT_Service_MetricsVariations service_mvar = NULL;
/* check of `face' delayed to `ft_face_get_mm_service' */
@ -309,8 +309,8 @@
FT_Fixed* coords )
{
FT_Error error;
FT_Service_MultiMasters service_mm;
FT_Service_MetricsVariations service_mvar;
FT_Service_MultiMasters service_mm = NULL;
FT_Service_MetricsVariations service_mvar = NULL;
/* check of `face' delayed to `ft_face_get_mm_service' */