]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/strjoin.cocci
Merge pull request #32315 from poettering/hwdb-256
[thirdparty/systemd.git] / coccinelle / strjoin.cocci
CommitLineData
64b92d63 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
605405c6 2@@
135a9868 3position p : script:python() { p[0].current_element != "test_strjoin" };
605405c6
ZJS
4expression t;
5expression list args;
6@@
135a9868
FS
7(
8- strjoin@p(args, NULL);
9+ strjoin(args);
10|
11- t = strjoin@p(args, NULL);
605405c6 12+ t = strjoin(args);
135a9868
FS
13|
14- return strjoin@p(args, NULL);
605405c6 15+ return strjoin(args);
135a9868 16)