From f21fa3e17f541e2d119bdae4119273ba68e7ffee Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 21 Jan 2017 21:49:13 +0100 Subject: [PATCH] fix compiler warning --- src/App/DocumentObject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App/DocumentObject.cpp b/src/App/DocumentObject.cpp index 8584b00fa2..0c304f36e3 100644 --- a/src/App/DocumentObject.cpp +++ b/src/App/DocumentObject.cpp @@ -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())