On Fri, Aug 17, 2007 at 11:00:07AM +0200, Abdelrazak Younes wrote:
>  Martin Vermeer wrote:
> > On Fri, Aug 17, 2007 at 09:22:16AM +0200, Abdelrazak Younes wrote:
> >>  Martin,
> >>
> >>  This is for you I guess:
> >>
> >>  src\insets\insetcollapsable.cpp(71) : warning C4715:  
> >> 'lyx::InsetCollapsable::geometry' : not all control paths return a value
> >>
> >>  Abdel.
> > Yes, I am getting that too: control reaches end of non-void
> > function. But if you manually trace the function, you see that it cannot 
> > really happen ;-) Is the compiler being over-careful? I suppose we could
> > shut up this warning. But should we?
> 
>  No, just put a dummy warning at the end:

That's what I meant by shutting up.
 
> > Actually the breaks are unnecessary too.
> 
>  Indeed. See patch.

I would comment this (the break thing) a bit. Otherwise
I am OK with the patch.

- Martin

Reply via email to