repo.or.cz
/
systemd_ALT.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
1:255.13-alt1
[systemd_ALT.git]
/
coccinelle
/
strjoin.cocci
blob
1efff700b7ba2f0f02c359cf5904396a831d2a90
1
/* SPDX-License-Identifier: LGPL-2.1-or-later */
2
@@
3
position p : script:python() { p[0].current_element != "test_strjoin" };
4
expression t;
5
expression list args;
6
@@
7
(
8
- strjoin@p(args, NULL);
9
+ strjoin(args);
10
|
11
- t = strjoin@p(args, NULL);
12
+ t = strjoin(args);
13
|
14
- return strjoin@p(args, NULL);
15
+ return strjoin(args);
16
)