1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/coccinelle/zz-drop-braces.cocci

14 lines
196 B
Plaintext
Raw Normal View History

/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
position p : script:python() { p[0].file != "src/journal/lookup3.c" };
expression e,e1;
@@
- if (e) {
+ if (e)
(
e1@p;
|
return e1@p;
)
- }