mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Remove unnecessary checks before delete (#9500)
Co-authored-by: Nicolas Abril <nicolasabril@alunos.utfpr.edu.br>
This commit is contained in:
@@ -1285,8 +1285,7 @@ ServerMap::~ServerMap()
|
||||
Close database if it was opened
|
||||
*/
|
||||
delete dbase;
|
||||
if (dbase_ro)
|
||||
delete dbase_ro;
|
||||
delete dbase_ro;
|
||||
|
||||
#if 0
|
||||
/*
|
||||
|
Reference in New Issue
Block a user