On Mon, 2011-06-13 at 13:23 -0500, Greg Dietsche wrote: > Semantic patch to find code that matches this pattern: [] > diff --git a/scripts/coccinelle/misc/doublereturn.cocci > b/scripts/coccinelle/misc/doublereturn.cocci [] > +-if (ret > operand) return ret; > +| > +-if (ret < operand) return ret;
Maybe add <= and >= _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
