On Thu, Jun 26, 2003 at 10:05:28AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | What about trying to find things like > | > | bool CutAndPaste::copySelection(ParagraphList::iterator startpit, > | ParagraphList::iterator endpit, > | int start, int end, textclass_type tc) > | { > | lyx::Assert(&*startpit); > | lyx::Assert(&*endpit); > | > | This is completely useless nowadays... > > The asserts you mean?
Yes. &*startpit is in every implementation I know never zero and it just invokes undefined behaviour. No gain but fishy code. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)