diff options
author | Nico Weber <thakis@chromium.org> | 2014-07-29 08:55:54 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-07-29 08:55:54 -0700 |
commit | c77e8f73397613f278eaeef2cae44debc6a684c8 (patch) | |
tree | 325d52616e193459f3cb248ce910852333d5d59d /core/src/fxge/ge/fx_ge_fontmap.cpp | |
parent | 3b07e751353a12d1b4605abfa96881c8eae1bbe5 (diff) | |
download | pdfium-c77e8f73397613f278eaeef2cae44debc6a684c8.tar.xz |
Remove a few unused variables, functions, and tables.
Found by clang's -Wunused-variable, -Wunused-function, -Wunused-const-variable.
BUG=none
R=bo_xu@foxitsoftware.com
Review URL: https://codereview.chromium.org/404653005
Diffstat (limited to 'core/src/fxge/ge/fx_ge_fontmap.cpp')
-rw-r--r-- | core/src/fxge/ge/fx_ge_fontmap.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fxge/ge/fx_ge_fontmap.cpp b/core/src/fxge/ge/fx_ge_fontmap.cpp index 1b47f1ff14..f5d378d55b 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); |