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:
Zbigniew Jędrzejewski-Szmek
2020-04-13 09:31:49 +02:00
committed by Lennart Poettering
parent 8cf85bb575
commit 38cd55b007
11 changed files with 14 additions and 28 deletions
+1 -2
View File
@@ -166,9 +166,8 @@ CurlGlue *curl_glue_unref(CurlGlue *g) {
if (g->curl)
curl_multi_cleanup(g->curl);
while ((io = hashmap_steal_first(g->ios))) {
while ((io = hashmap_steal_first(g->ios)))
sd_event_source_unref(io);
}
hashmap_free(g->ios);