1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove unnecessary checks before delete (#9500)

Co-authored-by: Nicolas Abril <nicolasabril@alunos.utfpr.edu.br>
This commit is contained in:
Nicolas Abril 2020-03-10 19:30:42 +00:00 committed by GitHub
parent 0cb34ce158
commit 30d795b4b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -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
/*