mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
44e66de0f2
to drop braces around single-line if statements. Also, prefix it with zz- so it runs as the last one, so it's able to fix stuff tweaked by previous transformations.
28 lines
321 B
Plaintext
28 lines
321 B
Plaintext
@@
|
|
position p : script:python() { p[0].file != "src/journal/lookup3.c" };
|
|
identifier id;
|
|
expression e;
|
|
@@
|
|
if (...)
|
|
- {
|
|
(
|
|
id@p(...);
|
|
|
|
|
e@p;
|
|
)
|
|
- }
|
|
|
|
@@
|
|
position p : script:python() { p[0].file != "src/journal/lookup3.c" };
|
|
identifier id;
|
|
expression e;
|
|
@@
|
|
if (...)
|
|
- {
|
|
(
|
|
return id@p(...);
|
|
|
|
|
return e@p;
|
|
)
|
|
- }
|