| Index: core/src/fxge/ge/fx_ge_fontmap.cpp
|
| diff --git a/core/src/fxge/ge/fx_ge_fontmap.cpp b/core/src/fxge/ge/fx_ge_fontmap.cpp
|
| index 1b47f1ff14363a9b834e2fc5382e2feedf27a6e3..f5d378d55b3ad09c1b915a8798764ab70962b905 100644
|
| --- a/core/src/fxge/ge/fx_ge_fontmap.cpp
|
| +++ b/core/src/fxge/ge/fx_ge_fontmap.cpp
|
| @@ -975,8 +975,6 @@ FXFT_Face CFX_FontMapper::FindSubstFont(const CFX_ByteString& name, FX_BOOL bTru
|
| FX_BOOL bItalic = FALSE;
|
| FX_DWORD nStyle = 0;
|
| FX_BOOL bStyleAvail = FALSE;
|
| - FX_BOOL bFamilyStyleIsWhole = FALSE;
|
| - FX_BOOL bNextF = FALSE;
|
| if (iBaseFont < 12) {
|
| family = g_Base14FontNames[iBaseFont];
|
| if ((iBaseFont % 4) == 1 || (iBaseFont % 4) == 2) {
|
| @@ -1535,7 +1533,7 @@ FX_DWORD CFX_FolderFontInfo::GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE
|
| }
|
| if (datasize && size >= datasize && pFile) {
|
| FXSYS_fseek(pFile, offset, FXSYS_SEEK_SET);
|
| - size_t readCnt = FXSYS_fread(buffer, datasize, 1, pFile);
|
| + FXSYS_fread(buffer, datasize, 1, pFile);
|
| }
|
| if (pFile) {
|
| FXSYS_fclose(pFile);
|
|
|