From 6baafd28cd5d0c5b4909e5c1a93067f02a62ffa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 10 Feb 2012 09:42:36 +0100 Subject: [PATCH] Remove unused code --- scripting/scriptedeffect.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scripting/scriptedeffect.cpp b/scripting/scriptedeffect.cpp index d34340cef2..604b74db7d 100644 --- a/scripting/scriptedeffect.cpp +++ b/scripting/scriptedeffect.cpp @@ -50,7 +50,6 @@ QScriptValue kwinEffectScriptPrint(QScriptContext *context, QScriptEngine *engin QScriptValue kwinEffectScriptAnimationTime(QScriptContext *context, QScriptEngine *engine) { - ScriptedEffect *script = qobject_cast(context->callee().data().toQObject()); if (context->argumentCount() != 1) { return engine->undefinedValue(); }