From caa98169dea7c9fcfd8b64997f4dfc3a1c9ed84a Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 17 Mar 2019 23:18:54 -0500 Subject: [PATCH] [ox/fs] Remove bad debug code from FileStore::unplaceItem (synced from 22da505869cc7d432b7db0bef5674f25cdbb02ae) --- src/ox/fs/filestore/filestoretemplate.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ox/fs/filestore/filestoretemplate.hpp b/src/ox/fs/filestore/filestoretemplate.hpp index f817051c5..ee54a4a16 100644 --- a/src/ox/fs/filestore/filestoretemplate.hpp +++ b/src/ox/fs/filestore/filestoretemplate.hpp @@ -595,8 +595,6 @@ Error FileStoreTemplate::unplaceItem(ItemPtr item) { template Error FileStoreTemplate::unplaceItem(ItemPtr root, ItemPtr item, int depth) { - oxAssert(false, "unplaceItem"); - oxTrace("ox::fs::FileStoreTemplate::unplaceItem") << item; if (depth >= 5000) { oxTrace("ox::fs::FileStoreTemplate::unplaceItem::fail") << "Excessive recursion depth, stopping before stack overflow."; return OxError(1);