Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-25
/
.
/
coccinelle
/
no-if-assignments.cocci
blob: 9f63e903376e06fd791f8bc964d9f25eb336a109 [
file
] [
log
] [
blame
] [
raw
]
@@
expression p
,
q
;
identifier r
;
statement s
;
@@
-
if
((
r
=
q
)
<
p
)
-
s
+
r
=
q
;
+
if
(
r
<
p
)
+
s
@@
expression p
,
q
;
identifier r
;
statement s
;
@@
-
if
((
r
=
q
)
>=
p
)
-
s
+
r
=
q
;
+
if
(
r
>=
p
)
+
s