summaryrefslogtreecommitdiff
path: root/coccinelle/flags-set.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'coccinelle/flags-set.cocci')
-rw-r--r--coccinelle/flags-set.cocci3
1 files changed, 2 insertions, 1 deletions
diff --git a/coccinelle/flags-set.cocci b/coccinelle/flags-set.cocci
index f6cc8ba68a..22620f1849 100644
--- a/coccinelle/flags-set.cocci
+++ b/coccinelle/flags-set.cocci
@@ -8,7 +8,8 @@ position p : script:python() {
p[0].current_element == "log_set_max_level_realm" or
p[0].current_element == "unichar_is_valid")
};
-expression x, y;
+expression x;
+constant y;
@@
(
- ((x@p) & (y)) == (y)