mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
Core/Misc: Remove redundant null pointer checks before delete (#2679)
Co-authored-by: Ujp8LfXBJ6wCPR <github@lillecarl.com> Co-authored-by: Ujp8LfXBJ6wCPR <github@lillecarl.com>
This commit is contained in:
@@ -111,7 +111,7 @@ void MPQFile::seekRelative(int offset)
|
||||
|
||||
void MPQFile::close()
|
||||
{
|
||||
if (buffer) delete[] buffer;
|
||||
delete[] buffer;
|
||||
buffer = 0;
|
||||
eof = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user