mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
coccinelle: skip strjoin transformation in test_strjoin()
This commit is contained in:
parent
1813613fed
commit
135a9868a7
@ -1,16 +1,15 @@
|
||||
@@
|
||||
expression list args;
|
||||
@@
|
||||
- strjoin(args, NULL);
|
||||
+ strjoin(args);
|
||||
@@
|
||||
position p : script:python() { p[0].current_element != "test_strjoin" };
|
||||
expression t;
|
||||
expression list args;
|
||||
@@
|
||||
- t = strjoin(args, NULL);
|
||||
(
|
||||
- strjoin@p(args, NULL);
|
||||
+ strjoin(args);
|
||||
|
|
||||
- t = strjoin@p(args, NULL);
|
||||
+ t = strjoin(args);
|
||||
@@
|
||||
expression list args;
|
||||
@@
|
||||
- return strjoin(args, NULL);
|
||||
|
|
||||
- return strjoin@p(args, NULL);
|
||||
+ return strjoin(args);
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user