summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-01-24 00:32:33 +0800
committerMike Yuan <me@yhndnzj.com>2023-01-24 00:32:33 +0800
commite6afd73ba24d3937359cad7ed663ef2e3a442f90 (patch)
tree19be178a74ec5cefef52c874d12fc853500a8c4e /src/machine
parentd2493703c19437fc4ae3f9c40202e8c4b314d517 (diff)
downloadsystemd-e6afd73ba24d3937359cad7ed663ef2e3a442f90.tar.gz
machinectl: remove unnecessary initialization
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index b9e3848d18..a147fae0bd 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -1600,7 +1600,7 @@ static int enable_machine(int argc, char *argv[], void *userdata) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
InstallChange *changes = NULL;
size_t n_changes = 0;
- const char *method = NULL;
+ const char *method;
sd_bus *bus = ASSERT_PTR(userdata);
int r;