summaryrefslogtreecommitdiffstats
path: root/src/script/bridge
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-08-04 14:56:09 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-08-04 15:50:57 (GMT)
commitcefaaf4cfcd8e4f75539d303ac10185427e193a8 (patch)
tree924e019736747b291c81fa08b486e32973a3f0bd /src/script/bridge
parent175b1689c9e173db62eb5612c7076531354e5252 (diff)
downloadQt-cefaaf4cfcd8e4f75539d303ac10185427e193a8.zip
Qt-cefaaf4cfcd8e4f75539d303ac10185427e193a8.tar.gz
Qt-cefaaf4cfcd8e4f75539d303ac10185427e193a8.tar.bz2
remove unused code
Diffstat (limited to 'src/script/bridge')
-rw-r--r--src/script/bridge/qscriptfunction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/bridge/qscriptfunction.cpp b/src/script/bridge/qscriptfunction.cpp
index d51147a..04c1abd 100644
--- a/src/script/bridge/qscriptfunction.cpp
+++ b/src/script/bridge/qscriptfunction.cpp
@@ -142,7 +142,6 @@ JSC::JSValue FunctionWithArgWrapper::proxyCall(JSC::ExecState *exec, JSC::JSObje
{
FunctionWithArgWrapper *self = static_cast<FunctionWithArgWrapper*>(callee);
QScriptEnginePrivate *eng_p = QScriptEnginePrivate::get(self->data->engine);
- QScriptContext *ctx = eng_p->contextForFrame(exec);
//We might have nested eval inside our function so we should create another scope
QScriptPushScopeHelper scope(exec);