Author: Thaissa Falbo <thaissa.falbo@gmail.com> Simplified return of funcions by removing assignment of ret variable. Coccinelle script used: @@ local idexpression ret; expression e; @@ – ret = e; – if(ret) – return ret; + if(e) + return e; @@ local idexpression ret; expression e; @@ – ret = e; – return ret; + return e; …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.