aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2015-01-28 05:01:07 +0100
committerKahrl <kahrl@gmx.net>2015-01-28 05:01:07 +0100
commit4d15d631349005528e8578a5750ad9a1b8cefe39 (patch)
treebbd4cfacfcf91749ff1a0f551484c1da866c8704 /src
parenta8ec7876a68cb4abbf2d517526822f17d7ac0efc (diff)
downloadminetest-4d15d631349005528e8578a5750ad9a1b8cefe39.tar.gz
minetest-4d15d631349005528e8578a5750ad9a1b8cefe39.tar.bz2
minetest-4d15d631349005528e8578a5750ad9a1b8cefe39.zip
Fix uninitialized variable m_database_delete in Database_SQLite3
This fixes issue #2219
Diffstat (limited to 'src')
-rw-r--r--src/database-sqlite3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database-sqlite3.cpp b/src/database-sqlite3.cpp
index 7faffb01c..0679da97d 100644
--- a/src/database-sqlite3.cpp
+++ b/src/database-sqlite3.cpp
@@ -52,6 +52,7 @@ Database_SQLite3::Database_SQLite3(ServerMap *map, std::string savedir)
m_database_read = NULL;
m_database_write = NULL;
m_database_list = NULL;
+ m_database_delete = NULL;
m_savedir = savedir;
srvmap = map;
}