anitazha / rpms / systemd

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