summaryrefslogtreecommitdiffstats
path: root/src/script/bridge
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-18 10:42:31 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-18 11:17:27 (GMT)
commit6ea3cdeafda53bb9dadc369b663cf03b0d9912b7 (patch)
tree548a7f24d07c2395c23ab1ae99bf852c3c075df0 /src/script/bridge
parent32b8cd59515d714b7ddf8436dc6306af7df18091 (diff)
downloadQt-6ea3cdeafda53bb9dadc369b663cf03b0d9912b7.zip
Qt-6ea3cdeafda53bb9dadc369b663cf03b0d9912b7.tar.gz
Qt-6ea3cdeafda53bb9dadc369b663cf03b0d9912b7.tar.bz2
Clean up.
Unused variable were commented. Reviewed-by: Kent Hansen
Diffstat (limited to 'src/script/bridge')
-rw-r--r--src/script/bridge/qscriptclassobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bridge/qscriptclassobject.cpp b/src/script/bridge/qscriptclassobject.cpp
index bf886b0..f6c6792 100644
--- a/src/script/bridge/qscriptclassobject.cpp
+++ b/src/script/bridge/qscriptclassobject.cpp
@@ -245,7 +245,7 @@ JSC::JSObject* ClassObjectDelegate::construct(JSC::ExecState *exec, JSC::JSObjec
QScriptClass *scriptClass = static_cast<ClassObjectDelegate*>(delegate)->scriptClass();
QScriptEnginePrivate *eng_p = scriptEngineFromExec(exec);
- JSC::ExecState *oldFrame = eng_p->currentFrame;
+ //JSC::ExecState *oldFrame = eng_p->currentFrame;
eng_p->pushContext(exec, JSC::JSValue(), args, callee, true);
QScriptContext *ctx = eng_p->contextForFrame(eng_p->currentFrame);