From 014cdf92675a111cdda209433ca873ad88e18e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 3 Feb 2014 11:36:21 +0100 Subject: [PATCH] [kwin] Mark unused variables as unused --warnings --- kcmkwin/kwinscreenedges/screenpreviewwidget.cpp | 1 + libkwineffects/kwinanimationeffect.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/kcmkwin/kwinscreenedges/screenpreviewwidget.cpp b/kcmkwin/kwinscreenedges/screenpreviewwidget.cpp index d0a08fc2b5..5fc429f4cd 100644 --- a/kcmkwin/kwinscreenedges/screenpreviewwidget.cpp +++ b/kcmkwin/kwinscreenedges/screenpreviewwidget.cpp @@ -126,6 +126,7 @@ void ScreenPreviewWidget::resizeEvent(QResizeEvent *e) void ScreenPreviewWidget::paintEvent(QPaintEvent *event) { + Q_UNUSED(event) if (d->monitorRect.size().isEmpty()) { return; } diff --git a/libkwineffects/kwinanimationeffect.cpp b/libkwineffects/kwinanimationeffect.cpp index 108af95c10..bd40c4a06f 100644 --- a/libkwineffects/kwinanimationeffect.cpp +++ b/libkwineffects/kwinanimationeffect.cpp @@ -842,6 +842,7 @@ region_creation: void AnimationEffect::_expandedGeometryChanged(KWin::EffectWindow *w, const QRect &old) { + Q_UNUSED(old) Q_D(AnimationEffect); AniMap::const_iterator entry = d->m_animations.constFind(w); if (entry != d->m_animations.constEnd()) {