From 8e936add92574f1b691cf4131067c8b1b5819750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 27 Jun 2008 12:06:29 +0000 Subject: [PATCH] assert( false ) -> abort(), to avoid no-return-value warning with NDEBUG svn path=/trunk/KDE/kdebase/workspace/; revision=825094 --- lib/kwineffects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kwineffects.cpp b/lib/kwineffects.cpp index 3b7ae0af3f..b3f3c224bf 100644 --- a/lib/kwineffects.cpp +++ b/lib/kwineffects.cpp @@ -852,7 +852,7 @@ bool PaintClipper::Iterator::isDone() if( effects->compositingType() == XRenderCompositing ) return data->index == 1; // run once #endif - assert( false ); + abort(); } void PaintClipper::Iterator::next() @@ -880,7 +880,7 @@ QRect PaintClipper::Iterator::boundingRect() const if( effects->compositingType() == XRenderCompositing ) return paintArea().boundingRect(); #endif - assert( false ); + abort(); }