mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
1f6b411372
Let's also clean up single-line while and for blocks.
57 lines
395 B
Plaintext
57 lines
395 B
Plaintext
@@
|
|
expression e, f, g, h, i, j;
|
|
statement s, t;
|
|
@@
|
|
(
|
|
if (e) {
|
|
(
|
|
if (h) s
|
|
|
|
|
if (h) s else t
|
|
|
|
|
while (h) s
|
|
|
|
|
for (h; i; j) s
|
|
)
|
|
}
|
|
|
|
|
while (e) {
|
|
(
|
|
if (h) s
|
|
|
|
|
if (h) s else t
|
|
|
|
|
while (h) s
|
|
|
|
|
for (h; i; j) s
|
|
)
|
|
}
|
|
|
|
|
for (e; f; g) {
|
|
(
|
|
if (h) s
|
|
|
|
|
if (h) s else t
|
|
|
|
|
while (h) s
|
|
|
|
|
for (h; i; j) s
|
|
)
|
|
}
|
|
|
|
|
- if (e) {
|
|
+ if (e)
|
|
s
|
|
- }
|
|
|
|
|
- while (e) {
|
|
+ while (e)
|
|
s
|
|
- }
|
|
|
|
|
- for (e; f; g) {
|
|
+ for (e; f; g)
|
|
s
|
|
- }
|
|
)
|