From 8d5784192f12f95d9bcd311808d1c35362df9a66 Mon Sep 17 00:00:00 2001 From: Sergii Dmytruk Date: Sat, 5 Jun 2021 19:05:24 +0300 Subject: [PATCH] Fix formatting in fu_common_get_block_devices () Signed-off-by: Sergii Dmytruk --- libfwupdplugin/fu-common.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libfwupdplugin/fu-common.c b/libfwupdplugin/fu-common.c index 573dfdde7..52804345c 100644 --- a/libfwupdplugin/fu-common.c +++ b/libfwupdplugin/fu-common.c @@ -2772,11 +2772,11 @@ fu_common_get_block_devices (GError **error) return NULL; } g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT); - output = g_dbus_proxy_call_sync (proxy, - "GetBlockDevices", - g_variant_new ("(a{sv})", &builder), - G_DBUS_CALL_FLAGS_NONE, - -1, NULL, error); + output = g_dbus_proxy_call_sync (proxy, + "GetBlockDevices", + g_variant_new ("(a{sv})", &builder), + G_DBUS_CALL_FLAGS_NONE, + -1, NULL, error); if (output == NULL) { if (error != NULL) g_dbus_error_strip_remote_error (*error); @@ -2802,7 +2802,6 @@ fu_common_get_block_devices (GError **error) g_ptr_array_add (devices, g_steal_pointer (&proxy_blk)); } - return g_steal_pointer (&devices); }