mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix compiler warning causing compile errors
Unused initialized local variable.
This commit is contained in:
parent
ecf7f973f8
commit
27925d3b7d
@ -226,9 +226,6 @@ void CMapLoadHelper::Constructor(CMapLoadHelper* loader, int lumpToLoad)
|
||||
FileHandle_t hLumpFile;
|
||||
if (/*lumpHandlingType &&*/ (hLumpFile = FileSystem()->Open(lumpPathBuf, "rb"), hLumpFile != FILESYSTEM_INVALID_HANDLE))
|
||||
{
|
||||
|
||||
int nSize = FileSystem()->Size(hLumpFile);
|
||||
|
||||
//DevMsg(eDLL_T::ENGINE, "Loading lump %.4x from file. Buffer: %p\n", lumpToLoad, loader->m_pRawData);
|
||||
FileSystem()->ReadEx(loader->m_pRawData, bytesToRead, bytesToRead, hLumpFile);
|
||||
FileSystem()->Close(hLumpFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user