> Is there a simpler way of expressing this poblem in a way so this > example would only yield the line "bar();"?
Can't you just annotate the function with 'warn_unused_result' and let gcc do the job? (I'd think most other compilers can do this, too) Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
_______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
