initialize variable in QFontEngineFT constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-01-19 19:40:04 +02:00
parent 71675f2b85
commit 79deafb290

View file

@ -229,7 +229,7 @@ QFontEngineFT::QFontEngineFT(const QFontDef &fd, FcPattern *pattern)
#if defined(FC_AUTOHINT) && defined(FT_LOAD_FORCE_AUTOHINT)
bool autohint = false;
FcBool b;
FcBool b = FcFalse;
if (FcPatternGetBool(pattern, FC_AUTOHINT, 0, &b) == FcResultMatch) {
autohint = b;
}