From 6ea3cdeafda53bb9dadc369b663cf03b0d9912b7 Mon Sep 17 00:00:00 2001 From: Jedrzej Nowacki Date: Tue, 18 Aug 2009 12:42:31 +0200 Subject: Clean up. Unused variable were commented. Reviewed-by: Kent Hansen --- src/script/bridge/qscriptclassobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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); -- cgit v0.12