1
0
mirror of https://github.com/systemd/systemd synced 2024-07-05 17:39:42 +00: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);
)