diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-03-07 11:21:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-08 14:34:46 +0100 |
commit | 59ad204c3daac2b642f39ca49a88cb7cbb25e6d0 (patch) | |
tree | 8805716657f2a252eb54158f49c2c8bb2b1af8c0 /tests/auto/qscriptengine | |
parent | a444a52ac8b6bf3368dd99653e33c7c947b8fe9b (diff) | |
download | qtscript-59ad204c3daac2b642f39ca49a88cb7cbb25e6d0.tar.gz |
Fix CLANG-warnings.
- Unused member variable.
- Unused static functions.
- Return false for pointer.
Change-Id: Ie78332d3754e7f53ed75d6006c11d60c29719c7b
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r-- | tests/auto/qscriptengine/tst_qscriptengine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index 1747b2e..c75f652 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -2653,6 +2653,7 @@ void tst_QScriptEngine::importExtension() QCoreApplication::instance()->setLibraryPaths(libPaths); } +#if 0 //The native C++ stack overflow before the JS stack static QScriptValue recurse(QScriptContext *ctx, QScriptEngine *eng) { Q_UNUSED(eng); @@ -2664,6 +2665,7 @@ static QScriptValue recurse2(QScriptContext *ctx, QScriptEngine *eng) Q_UNUSED(eng); return ctx->callee().construct(); } +#endif void tst_QScriptEngine::infiniteRecursion() { |