summaryrefslogtreecommitdiff
path: root/tests/auto/qscriptengineagent
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-20 11:15:52 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-20 11:15:52 +0200
commitb843a09895a28edf113e814fc0df09fd3c1cf9df (patch)
tree0517e7d768f89af1ede160716d2bff58b18807f7 /tests/auto/qscriptengineagent
parent46cd0e36affd34be03fac9208e79eb73098de67f (diff)
downloadqtscript-b843a09895a28edf113e814fc0df09fd3c1cf9df.tar.gz
Fix compile warning in tests.
Diffstat (limited to 'tests/auto/qscriptengineagent')
-rw-r--r--tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
index 065f099..229f987 100644
--- a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
+++ b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
@@ -2333,7 +2333,7 @@ class NewSpy :public QScriptEngineAgent
bool m_result;
public:
NewSpy(QScriptEngine* eng) : QScriptEngineAgent(eng), m_result(false) {}
- void functionExit (qint64, const QScriptValue &scriptValue)
+ void functionExit (qint64, const QScriptValue & /* scriptValue */)
{
if (engine()->hasUncaughtException()) m_result = true;
}