]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
machinectl: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 6 May 2015 16:23:11 +0000 (18:23 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 6 May 2015 16:23:46 +0000 (18:23 +0200)
src/machine/machinectl.c

index 9931e4f1fdf7eb1f924af3ae5d04a5f61bb16a19..3764c0a086460ce273959da332ef29b6964bfe53 100644 (file)
@@ -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)