assert( false ) -> abort(), to avoid no-return-value warning with NDEBUG

svn path=/trunk/KDE/kdebase/workspace/; revision=825094
This commit is contained in:
Luboš Luňák 2008-06-27 12:06:29 +00:00
parent da2c6c1375
commit 8e936add92

View file

@ -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();
}