2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 15:32:35 +00:00
Files
lxc/coccinelle/while-true.cocci
Christian Brauner 51a8a74c07 coccinelle: s/while({1,true})/for(;;)/
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2019-02-09 11:05:12 +01:00

13 lines
91 B
Plaintext

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