On Fri, Feb 24, 2017 at 12:43:56PM -0800, Josh Triplett wrote: > On Fri, Feb 24, 2017 at 09:11:53PM +0100, Luc Van Oostenryck wrote: > > I'm not very sure what are the cases in wich Matthew is really > > interested but I suppose that, even after preprocessing and > > elimination of if (0) {...}, a return statement in the middle > > of a compound statement is very often unintentional. > > That should be easy to check. > > By "middle of a compound statement", you mean an unconditional return > followed by more code? Yes, that seems like something reasonable to > statically check. > > - Josh Triplett Yes, it's what I meant. Luc -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html