diff --git a/effects.cpp b/effects.cpp index 6fc04ecff6..77ec3f2694 100644 --- a/effects.cpp +++ b/effects.cpp @@ -202,7 +202,6 @@ void EffectsHandlerImpl::windowDeleted( EffectWindow* c ) { foreach( EffectPair ep, loaded_effects ) ep.second->windowDeleted( c ); - Toplevel* c2 = static_cast< EffectWindowImpl* >( c )->window(); elevated_windows.removeAll( c ); }