summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-12 18:26:05 +0200
committerLennart Poettering <lennart@poettering.net>2020-04-13 09:31:49 +0200
commit38cd55b007c955ee1a5fd80d89086d4f930d802d (patch)
treeff14a30ae6d0994dbca76139ff3f74aeaf47b1cc /src/import
parent8cf85bb5750766cf0cff53b0b73be5a5a39279f5 (diff)
downloadsystemd-38cd55b007c955ee1a5fd80d89086d4f930d802d.tar.gz
Remove unneded {}s
$ perl -i -0pe 's|\s+{\n([^\n]*;)\n\s+}\n|\n\1\n|gms' **/*.c Inspired by ea7cbf5bdd68d7861ebf1570c439e8bbabd83f6c.
Diffstat (limited to 'src/import')
-rw-r--r--src/import/curl-util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/import/curl-util.c b/src/import/curl-util.c
index 5f21033db5..261fbece71 100644
--- a/src/import/curl-util.c
+++ b/src/import/curl-util.c
@@ -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);