summaryrefslogtreecommitdiffstats
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-10-05 22:56:20 +0200
committerLennart Poettering <lennart@poettering.net>2018-11-09 17:08:59 +0100
commitdf61bc5e4aa19f9b211dbe8414343b44361e442c (patch)
tree0d950216143418eccd83b1b773f21bbf7b45a657 /src/nspawn
parentnspawn: simplify machine terminate bus call (diff)
downloadsystemd-df61bc5e4aa19f9b211dbe8414343b44361e442c.tar.xz
systemd-df61bc5e4aa19f9b211dbe8414343b44361e442c.zip
nspawn: merge two variable declaration lines
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn-register.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nspawn/nspawn-register.c b/src/nspawn/nspawn-register.c
index e459cb63ec..0d45cce66e 100644
--- a/src/nspawn/nspawn-register.c
+++ b/src/nspawn/nspawn-register.c
@@ -236,9 +236,8 @@ int allocate_scope(
int kill_signal,
char **properties) {
+ _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL, *reply = NULL;
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
- _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL;
- _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
_cleanup_(bus_wait_for_jobs_freep) BusWaitForJobs *w = NULL;
_cleanup_free_ char *scope = NULL;
const char *description, *object;