mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity
This commit is contained in:
@@ -276,7 +276,10 @@ namespace VMAP
|
||||
}
|
||||
FILE* tf = OpenMapTileFile(basePath, mapID, tileX, tileY, vm).File;
|
||||
if (!tf)
|
||||
{
|
||||
fclose(rf);
|
||||
return LoadResult::FileNotFound;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string tilefile = basePath + getTileFileName(mapID, tileX, tileY);
|
||||
|
||||
Reference in New Issue
Block a user