fix compiler warning

This commit is contained in:
wmayer
2017-01-21 21:49:13 +01:00
parent f3f7b01202
commit f21fa3e17f

View File

@@ -303,7 +303,9 @@ bool DocumentObject::testIfLinkDAGCompatible(PropertyLinkSub &linkTo) const
return this->testIfLinkDAGCompatible(linkTo_in_vector);
}
bool DocumentObject::_isInInListRecursive(const DocumentObject *act, const DocumentObject* test, const DocumentObject* checkObj, int depth) const
bool DocumentObject::_isInInListRecursive(const DocumentObject* /*act*/,
const DocumentObject* test,
const DocumentObject* checkObj, int depth) const
{
#ifndef USE_OLD_DAG
if (std::find(_inList.begin(), _inList.end(), test) != _inList.end())