assert( false ) -> abort(), to avoid no-return-value warning with NDEBUG
svn path=/trunk/KDE/kdebase/workspace/; revision=825094
This commit is contained in:
parent
da2c6c1375
commit
8e936add92
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue