Systemd/coccinelle/while-true.cocci

13 lines
91 B
Plaintext

@@
statement s;
@@
- while (true)
+ for (;;)
s
@@
statement s;
@@
- while (1)
+ for (;;)
s