diff --git a/effects/blur/blur.cpp b/effects/blur/blur.cpp index c8b39b6cbb..5a31af9877 100644 --- a/effects/blur/blur.cpp +++ b/effects/blur/blur.cpp @@ -216,10 +216,6 @@ void BlurEffect::drawRegion(const QRegion ®ion) void BlurEffect::prePaintScreen(ScreenPrePaintData &data, int time) { - EffectWindowList windows = effects->stackingOrder(); - QLinkedList blurRegions; - bool checkDecos = effects->decorationsHaveAlpha() && effects->decorationSupportsBlurBehind(); - bool clipChanged = false; m_damagedArea = QRegion(); m_currentBlur = QRegion(); diff --git a/effects/trackmouse/trackmouse.cpp b/effects/trackmouse/trackmouse.cpp index 8c95a9a567..ab83c1d56f 100644 --- a/effects/trackmouse/trackmouse.cpp +++ b/effects/trackmouse/trackmouse.cpp @@ -116,9 +116,7 @@ void TrackMouseEffect::paintScreen(int mask, QRegion region, ScreenPaintData& da #ifndef KWIN_HAVE_OPENGLES glPushAttrib(GL_CURRENT_BIT | GL_ENABLE_BIT); #endif - bool useShader = false; if (ShaderManager::instance()->isValid()) { - useShader = true; ShaderManager::instance()->pushShader(ShaderManager::SimpleShader); } texture->bind(); diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index ad20a8acdc..84c3cb5380 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -1116,8 +1116,6 @@ void KMovingConfig::load(void) void KMovingConfig::save(void) { - int v; - KConfigGroup cg(config, "Windows"); cg.writeEntry(KWIN_MOVE_RESIZE_MAXIMIZED, moveResizeMaximized->isChecked()); diff --git a/libkwineffects/kwineffects.cpp b/libkwineffects/kwineffects.cpp index 43ab44a599..1ad53bce19 100644 --- a/libkwineffects/kwineffects.cpp +++ b/libkwineffects/kwineffects.cpp @@ -850,7 +850,6 @@ void WindowMotionManager::calculate(int time) QHash::iterator it = m_managedWindows.begin(); for (; it != m_managedWindows.end(); ++it) { WindowMotion *motion = &it.value(); - EffectWindow *window = it.key(); int stopped = 0; // TODO: What happens when distance() == 0 but we are still moving fast?