summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-07 02:51:01 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-07 02:51:01 +0300
commit8b60d77bea69c08d95791d739915c6da5d1986bb (patch)
tree4c9500c4d23da8251c933cfaf3f8c459e3660d29
parent6f7f0b79bbf66db2f9200ab1450166cb699e3a08 (diff)
downloadmanaplus-8b60d77bea69c08d95791d739915c6da5d1986bb.tar.gz
manaplus-8b60d77bea69c08d95791d739915c6da5d1986bb.tar.bz2
manaplus-8b60d77bea69c08d95791d739915c6da5d1986bb.tar.xz
manaplus-8b60d77bea69c08d95791d739915c6da5d1986bb.zip
Disable errors "in cache other image" because here can be false positives.
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index c9d9e1486..5cbf005aa 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -498,8 +498,9 @@ void release(Resource *const res)
}
if (resIter->second != res)
{
- reportAlways("in cache other image: %s",
- res->mIdPath.c_str());
+// +++ need reenable after Resource will have type field
+// reportAlways("in cache other image: %s",
+// res->mIdPath.c_str());
delete res;
return;
}