scripts/coccinelle/misc/boolreturn.cocci
0 → 100644
+58
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This semantic patch replaces "return {0,1};" with "return
{false,true};" in functions returning bool.
Signed-off-by:
Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by:
Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by:
Michal Marek <mmarek@suse.cz>