forked from qt-creator/qt-creator
Remove unused private functions
As found by Cppcheck. Change-Id: I697ea69992425ff41e35990ad00be312b35ba70a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1080,25 +1080,6 @@ void ObjectValue::accept(ValueVisitor *visitor) const
|
||||
visitor->visit(this);
|
||||
}
|
||||
|
||||
bool ObjectValue::checkPrototype(const ObjectValue *, QSet<const ObjectValue *> *) const
|
||||
{
|
||||
#if 0
|
||||
const int previousSize = processed->size();
|
||||
processed->insert(this);
|
||||
|
||||
if (previousSize != processed->size()) {
|
||||
if (this == proto)
|
||||
return false;
|
||||
|
||||
if (prototype() && ! prototype()->checkPrototype(proto, processed))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
void ObjectValue::processMembers(MemberProcessor *processor) const
|
||||
{
|
||||
for (auto it = m_members.cbegin(), end = m_members.cend(); it != end; ++it) {
|
||||
|
||||
Reference in New Issue
Block a user