summaryrefslogtreecommitdiffstats
path: root/src/script/bridge
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-18 10:19:30 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-18 11:17:27 (GMT)
commit32b8cd59515d714b7ddf8436dc6306af7df18091 (patch)
tree8dc68eefb3fd37f2fc6f1e25b6520b4bd77b30ab /src/script/bridge
parentfbfd3d0dd5de147bd841dc144a735ca5e02d76e7 (diff)
downloadQt-32b8cd59515d714b7ddf8436dc6306af7df18091.zip
Qt-32b8cd59515d714b7ddf8436dc6306af7df18091.tar.gz
Qt-32b8cd59515d714b7ddf8436dc6306af7df18091.tar.bz2
Clean up.
Get rid off some compilation warnings about unused variables. Reviewed-by: Kent Hansen
Diffstat (limited to 'src/script/bridge')
-rw-r--r--src/script/bridge/qscriptqobject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptqobject.cpp b/src/script/bridge/qscriptqobject.cpp
index e98ec8a..8e5a844 100644
--- a/src/script/bridge/qscriptqobject.cpp
+++ b/src/script/bridge/qscriptqobject.cpp
@@ -1867,6 +1867,7 @@ JSC::JSValue QMetaObjectWrapperObject::execute(JSC::ExecState *exec,
const JSC::ArgList &args,
bool calledAsConstructor)
{
+ Q_UNUSED(calledAsConstructor);
if (data->ctor) {
QScriptEnginePrivate *eng_p = QScript::scriptEngineFromExec(exec);
QScriptContext *ctx = eng_p->contextForFrame(exec);