1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 07:51:21 +03:00
systemd/coccinelle/strjoin.cocci

16 lines
271 B
Plaintext

@@
position p : script:python() { p[0].current_element != "test_strjoin" };
expression t;
expression list args;
@@
(
- strjoin@p(args, NULL);
+ strjoin(args);
|
- t = strjoin@p(args, NULL);
+ t = strjoin(args);
|
- return strjoin@p(args, NULL);
+ return strjoin(args);
)