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

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

Coccinelle: array_size: 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 8f551bef
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -59,7 +59,7 @@ T[] E;
//  For org and report mode
//  For org and report mode
//----------------------------------------------------------
//----------------------------------------------------------


@r@
@r depends on (org || report)@
type T;
type T;
T[] E;
T[] E;
position p;
position p;