Re: warning about invalid tree model iterators



On Fri, 2006-02-17 at 14:29 +0100, Tim Janik wrote:


> to help the compiler catch these mistakes, i've prepared a patch that adds
> G_GNUC_WARN_UNUSED_RESULT to all relevant iterator functions, and intend
> to commit that next week unless objections pop up. in principle it does:

This is pretty nice.  It may create a few warnings for code that knows
that certain operations will succeed, but better help the rest of the
world :)

  Federico




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]