summaryrefslogtreecommitdiff
path: root/src/database-sqlite3.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-11-24 02:10:15 -0500
committerkwolekr <kwolekr@minetest.net>2013-11-24 02:10:15 -0500
commit068dd796f51e59953d1aff9f05510847e2bfe872 (patch)
treeec07c54ad389454213a37ad2ba0d86518d87416e /src/database-sqlite3.cpp
parent16bd3683747e6ab86d6874b90d00a02285d68bdd (diff)
downloadminetest-068dd796f51e59953d1aff9f05510847e2bfe872.tar.gz
minetest-068dd796f51e59953d1aff9f05510847e2bfe872.tar.bz2
minetest-068dd796f51e59953d1aff9f05510847e2bfe872.zip
Don't continue trying to deserialize blank block data
Diffstat (limited to 'src/database-sqlite3.cpp')
-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 44eb86f54..38fb2ca19 100644
--- a/src/database-sqlite3.cpp
+++ b/src/database-sqlite3.cpp
@@ -237,6 +237,7 @@ MapBlock* Database_SQLite3::loadBlock(v3s16 blockpos)
} else {
throw SerializationError("Blank block data in database");
}
+ return NULL;
}
std::string datastr(data, len);