diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-30 08:09:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 08:09:41 +0200 |
commit | bd6b90359c654f4c75964755e476a8bfd90114ba (patch) | |
tree | 2c3322587dfd845efc1332feed6708b9f02a9f69 /src/inventory.cpp | |
parent | 43f9e948a128606ba4d446b79999ca8718b4456a (diff) | |
download | minetest-bd6b90359c654f4c75964755e476a8bfd90114ba.tar.gz minetest-bd6b90359c654f4c75964755e476a8bfd90114ba.tar.bz2 minetest-bd6b90359c654f4c75964755e476a8bfd90114ba.zip |
Remove DSTACK support (#6346)
Debugstacks is not useful, we don't really use it, the DebugStack is not pertinent, gdb and lldb are better if we really want to debug.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index 82325997e..fb2dd245f 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -57,9 +57,7 @@ ItemStack::ItemStack(const std::string &name_, u16 count_, void ItemStack::serialize(std::ostream &os) const { - DSTACK(FUNCTION_NAME); - - if(empty()) + if (empty()) return; // Check how many parts of the itemstring are needed @@ -84,8 +82,6 @@ void ItemStack::serialize(std::ostream &os) const void ItemStack::deSerialize(std::istream &is, IItemDefManager *itemdef) { - DSTACK(FUNCTION_NAME); - clear(); // Read name |