diff options
author | Alessandro Portale <[email protected]> | 2020-09-20 23:40:16 +0200 |
---|---|---|
committer | Alessandro Portale <[email protected]> | 2020-10-08 09:06:02 +0000 |
commit | c68f49fefaab4251c70c4ccaece0dd52993b653a (patch) | |
tree | 5308cc8fbf2b502c64a79c7ffcfa42a750b505b0 /src/libs/qmljs/qmljsinterpreter.cpp | |
parent | 35bab3a02174c5179b1fe0414fa33b8e7cbe64dd (diff) |
Remove unused private functions
As found by Cppcheck.
Change-Id: I697ea69992425ff41e35990ad00be312b35ba70a
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljsinterpreter.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsinterpreter.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp index 3627e7b1747..87ba3984860 100644 --- a/src/libs/qmljs/qmljsinterpreter.cpp +++ b/src/libs/qmljs/qmljsinterpreter.cpp @@ -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) { |