From 20e1237ce1bb6f7c2f8df587c6cd032702ef5fc9 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 24 Oct 2024 19:32:36 +0900 Subject: [PATCH] machined: ACQUIRE_METADATA_NO is zero Follow-ups for a94fbcaa35dc63f32fbf86d25f63f6ac40a0d8b0 and 9de215219c8783e3239af27baf62275730ab51a8. --- src/machine/machined-varlink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/machine/machined-varlink.c b/src/machine/machined-varlink.c index 723c755f70e..f7cfaba78a4 100644 --- a/src/machine/machined-varlink.c +++ b/src/machine/machined-varlink.c @@ -510,7 +510,6 @@ static int vl_method_list(sd_varlink *link, sd_json_variant *parameters, sd_varl Manager *m = ASSERT_PTR(userdata); _cleanup_(machine_lookup_parameters_done) MachineLookupParameters p = { .pidref = PIDREF_NULL, - .acquire_metadata = ACQUIRE_METADATA_NO, }; Machine *machine; @@ -644,7 +643,7 @@ static int vl_method_list_images(sd_varlink *link, sd_json_variant *parameters, struct params { const char *image_name; AcquireMetadata acquire_metadata; - } p = { .acquire_metadata = ACQUIRE_METADATA_NO }; + } p = {}; int r; static const sd_json_dispatch_field dispatch_table[] = {