teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0114-nspawn-merge-two-variable-declaration-lines.patch

ff6046
From 45085ba5ef810dc527f439fe165c5d393443bda9 Mon Sep 17 00:00:00 2001
ff6046
From: Lennart Poettering <lennart@poettering.net>
ff6046
Date: Fri, 5 Oct 2018 22:56:20 +0200
ff6046
Subject: [PATCH] nspawn: merge two variable declaration lines
ff6046
ff6046
(cherry picked from commit df61bc5e4aa19f9b211dbe8414343b44361e442c)
ff6046
ff6046
Resolves: #1697893
ff6046
---
ff6046
 src/nspawn/nspawn-register.c | 3 +--
ff6046
 1 file changed, 1 insertion(+), 2 deletions(-)
ff6046
ff6046
diff --git a/src/nspawn/nspawn-register.c b/src/nspawn/nspawn-register.c
ff6046
index e459cb63ec..0d45cce66e 100644
ff6046
--- a/src/nspawn/nspawn-register.c
ff6046
+++ b/src/nspawn/nspawn-register.c
ff6046
@@ -236,9 +236,8 @@ int allocate_scope(
ff6046
                 int kill_signal,
ff6046
                 char **properties) {
ff6046
 
ff6046
+        _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL, *reply = NULL;
ff6046
         _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
ff6046
-        _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL;
ff6046
-        _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
ff6046
         _cleanup_(bus_wait_for_jobs_freep) BusWaitForJobs *w = NULL;
ff6046
         _cleanup_free_ char *scope = NULL;
ff6046
         const char *description, *object;