[kwin] Mark unused variables as unused

--warnings
This commit is contained in:
Martin Gräßlin 2014-02-03 11:36:21 +01:00
parent a6b12108c9
commit 014cdf9267
2 changed files with 2 additions and 0 deletions

View file

@ -126,6 +126,7 @@ void ScreenPreviewWidget::resizeEvent(QResizeEvent *e)
void ScreenPreviewWidget::paintEvent(QPaintEvent *event)
{
Q_UNUSED(event)
if (d->monitorRect.size().isEmpty()) {
return;
}

View file

@ -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()) {