]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/strjoin.cocci
Merge pull request #29727 from aafeijoo-suse/default-tpm2-public-key-fix
[thirdparty/systemd.git] / coccinelle / strjoin.cocci
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 )