diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-01-24 00:32:33 +0800 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-01-24 00:32:33 +0800 |
commit | e6afd73ba24d3937359cad7ed663ef2e3a442f90 (patch) | |
tree | 19be178a74ec5cefef52c874d12fc853500a8c4e | |
parent | d2493703c19437fc4ae3f9c40202e8c4b314d517 (diff) | |
download | systemd-e6afd73ba24d3937359cad7ed663ef2e3a442f90.tar.gz |
machinectl: remove unnecessary initialization
-rw-r--r-- | src/machine/machinectl.c | 2 |
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; |