On Tue, Sep 1, 2009 at 01:55, Michael Wookey<michaelwookey@xxxxxxxxx> wrote: >> Otherwise a clever compiler has every right to complain "the variable >> unused is assigned but never used." > > I get no other warnings, so does that make gcc less than clever? ;-) It only does what it is instructed to do: the function is annotated with warn_unused_result attribute. What really is annoying is someones choice of the functions to annotate. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html