[systemd-commits] src/machine

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Wed May 6 09:23:55 PDT 2015


 src/machine/machinectl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 90615ad79188c360c0571b0a0d2ed81d88ece1ab
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Wed May 6 18:23:11 2015 +0200

    machinectl: remove unused variable

diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 9931e4f..3764c0a 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -1445,7 +1445,7 @@ static int enable_machine(int argc, char *argv[], void *userdata) {
                 return bus_log_create_error(r);
 
         for (i = 1; i < argc; i++) {
-                _cleanup_free_ char *e = NULL, *unit = NULL;
+                _cleanup_free_ char *unit = NULL;
 
                 r = make_service_name(argv[i], &unit);
                 if (r < 0)



More information about the systemd-commits mailing list