richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
b9a53a
From 5d7e8cb0e12e4642a760cf00cbb6caf4c07b9cd9 Mon Sep 17 00:00:00 2001
b9a53a
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
b9a53a
Date: Sun, 19 May 2019 16:05:02 +0200
b9a53a
Subject: [PATCH] core/dbus-execute: remove unnecessary initialization
b9a53a
b9a53a
(cherry picked from commit bd0abfaea1514bdd7cb60228d7a3f94c17ba916d)
b9a53a
b9a53a
Related: #1734787
b9a53a
---
b9a53a
 src/core/dbus-execute.c | 2 +-
b9a53a
 1 file changed, 1 insertion(+), 1 deletion(-)
b9a53a
b9a53a
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
b9a53a
index 33a91c012e..5379545d57 100644
b9a53a
--- a/src/core/dbus-execute.c
b9a53a
+++ b/src/core/dbus-execute.c
b9a53a
@@ -1552,7 +1552,7 @@ int bus_exec_context_set_transient_property(
b9a53a
 #endif
b9a53a
         if (streq(name, "CPUAffinity")) {
b9a53a
                 const void *a;
b9a53a
-                size_t n = 0;
b9a53a
+                size_t n;
b9a53a
 
b9a53a
                 r = sd_bus_message_read_array(message, 'y', &a, &n);
b9a53a
                 if (r < 0)