summaryrefslogtreecommitdiff
path: root/src/database-leveldb.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-leveldb.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-leveldb.cpp')
-rw-r--r--src/database-leveldb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database-leveldb.cpp b/src/database-leveldb.cpp
index ec28198b5..2a8f59c20 100644
--- a/src/database-leveldb.cpp
+++ b/src/database-leveldb.cpp
@@ -104,6 +104,7 @@ MapBlock* Database_LevelDB::loadBlock(v3s16 blockpos)
} else {
throw SerializationError("Blank block data in database");
}
+ return NULL;
}
if (s.ok()) {