diff options
Diffstat (limited to 'core/src/fxcrt/fx_basic_bstring.cpp')
-rw-r--r-- | core/src/fxcrt/fx_basic_bstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxcrt/fx_basic_bstring.cpp b/core/src/fxcrt/fx_basic_bstring.cpp index f14ff2ba5d..60153fa45a 100644 --- a/core/src/fxcrt/fx_basic_bstring.cpp +++ b/core/src/fxcrt/fx_basic_bstring.cpp @@ -947,7 +947,7 @@ CFX_ByteString CFX_ByteString::LoadFromFile(FX_BSTR filename) FXSYS_fseek(file, 0, FXSYS_SEEK_SET); CFX_ByteString str; FX_LPSTR buf = str.GetBuffer(len); - size_t readCnt = FXSYS_fread(buf, 1, len, file); + FXSYS_fread(buf, 1, len, file); str.ReleaseBuffer(len); FXSYS_fclose(file); return str; |