aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4jsonobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp
index d78d09113a..685276ba23 100644
--- a/src/qml/jsruntime/qv4jsonobject.cpp
+++ b/src/qml/jsruntime/qv4jsonobject.cpp
@@ -623,7 +623,8 @@ public:
QStringLiteral("Cannot convert circular structure to JSON"));
}
- stringify->v4->checkStackLimits();
+ const bool hasOverflow = stringify->v4->checkStackLimits();
+ Q_UNUSED(hasOverflow); // No handling needed. Exception has been thrown already.
}
bool foundProblem() const { return m_callDepthRecorder.ee->hasException; }