Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f551bef authored by Julia Lawall's avatar Julia Lawall Committed by Michal Marek
Browse files

Coccinelle: reduce rule applicability



Rule r is only use in org or report mode, so only execute it in those
cases.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 0a9e7da6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ T **x;
//  For org and report mode
//----------------------------------------------------------

@r disable sizeof_type_expr@
@r depends on (org || report) disable sizeof_type_expr@
type T;
T **x;
position p;