From: Adrian Vovk Date: Wed, 21 Aug 2024 20:15:24 +0000 (-0400) Subject: sysupdated: Fixup minor formatting issues X-Git-Tag: v257-rc1~654^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5256326261c1f8b4022133ff664a922ed111d6ab;p=thirdparty%2Fsystemd.git sysupdated: Fixup minor formatting issues --- diff --git a/src/sysupdate/sysupdated.c b/src/sysupdate/sysupdated.c index e2c3d7e1028..776211f74b4 100644 --- a/src/sysupdate/sysupdated.c +++ b/src/sysupdate/sysupdated.c @@ -163,7 +163,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Job*, job_free); DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR(job_hash_ops, uint64_t, uint64_hash_func, uint64_compare_func, Job, job_free); -static int job_new(JobType type, Target *t, sd_bus_message *msg, JobComplete complete_cb, Job **ret) { +static int job_new(JobType type, Target *t, sd_bus_message *msg, JobComplete complete_cb, Job **ret) { _cleanup_(job_freep) Job *j = NULL; int r; @@ -844,8 +844,8 @@ static int target_method_list_finish( static int target_method_list(sd_bus_message *msg, void *userdata, sd_bus_error *error) { Target *t = ASSERT_PTR(userdata); _cleanup_(job_freep) Job *j = NULL; - int r; uint64_t flags; + int r; assert(msg); @@ -906,8 +906,8 @@ static int target_method_describe(sd_bus_message *msg, void *userdata, sd_bus_er Target *t = ASSERT_PTR(userdata); _cleanup_(job_freep) Job *j = NULL; const char *version; - int r; uint64_t flags; + int r; assert(msg);