Remove unneded {}s
$ perl -i -0pe 's|\s+{\n([^\n]*;)\n\s+}\n|\n\1\n|gms' **/*.c
Inspired by ea7cbf5bdd.
This commit is contained in:
committed by
Lennart Poettering
parent
8cf85bb575
commit
38cd55b007
@@ -408,9 +408,8 @@ static void test_strv_split_newlines(void) {
|
||||
l = strv_split_newlines(str);
|
||||
assert_se(l);
|
||||
|
||||
STRV_FOREACH(s, l) {
|
||||
STRV_FOREACH(s, l)
|
||||
assert_se(streq(*s, input_table_multiple[i++]));
|
||||
}
|
||||
}
|
||||
|
||||
static void test_strv_split_nulstr(void) {
|
||||
|
||||
Reference in New Issue
Block a user