summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-09-02 14:23:44 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-09-02 14:24:35 (GMT)
commit0f06310ad141fb3705cb5180db700aa82a155287 (patch)
treedbd32a3abecbe2189b1cb6271a8730f0f2e5c204 /src/script
parent9b7b54f72278249984565d67ebac6b2700c3d002 (diff)
downloadQt-0f06310ad141fb3705cb5180db700aa82a155287.zip
Qt-0f06310ad141fb3705cb5180db700aa82a155287.tar.gz
Qt-0f06310ad141fb3705cb5180db700aa82a155287.tar.bz2
fix warnings on mingw
Diffstat (limited to 'src/script')
-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 0592a89..bd5d161 100644
--- a/src/script/bridge/qscriptqobject.cpp
+++ b/src/script/bridge/qscriptqobject.cpp
@@ -1869,6 +1869,7 @@ JSC::JSValue QMetaObjectWrapperObject::execute(JSC::ExecState *exec,
QScriptContext *ctx = eng_p->contextForFrame(exec);
JSC::CallData callData;
JSC::CallType callType = data->ctor.getCallData(callData);
+ Q_UNUSED(callType);
Q_ASSERT_X(callType == JSC::CallTypeHost, Q_FUNC_INFO, "script constructors not supported");
if (data->ctor.isObject(&FunctionWithArgWrapper::info)) {
FunctionWithArgWrapper *wrapper = static_cast<FunctionWithArgWrapper*>(JSC::asObject(data->ctor));