From 6667bb9149b9a256d2dec79c1d9fdba9fc7a2567 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mar 16 2021 04:19:32 +0000 Subject: core/dbus-execute: remove unnecessary initialization (cherry picked from commit bd0abfaea1514bdd7cb60228d7a3f94c17ba916d) Related: #1734787 patch_name: 0269-core-dbus-execute-remove-unnecessary-initialization.patch present_in_specfile: true location_in_specfile: 269 squash_commits: true --- diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 33a91c0..5379545 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -1552,7 +1552,7 @@ int bus_exec_context_set_transient_property( #endif if (streq(name, "CPUAffinity")) { const void *a; - size_t n = 0; + size_t n; r = sd_bus_message_read_array(message, 'y', &a, &n); if (r < 0)