summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-17 22:25:37 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-17 22:35:35 -0500
commit06beed6dc6abeb392b3e2ca8c46fa3169616651e (patch)
tree8fc99894c5c71c2a76fcc77eda96a5451db11f06 /src/core
parent1e190502e78cea1f8bcb62e6d390305c89e41e6a (diff)
Remove unused variable and two function stubs
Diffstat (limited to 'src/core')
-rw-r--r--src/core/shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/shutdown.c b/src/core/shutdown.c
index 9189cfb1ad..c7510304f2 100644
--- a/src/core/shutdown.c
+++ b/src/core/shutdown.c
@@ -222,7 +222,7 @@ static int pivot_to_new_root(void) {
int main(int argc, char *argv[]) {
bool need_umount = true, need_swapoff = true, need_loop_detach = true, need_dm_detach = true;
bool in_container, use_watchdog = false;
- _cleanup_free_ char *line = NULL, *cgroup = NULL;
+ _cleanup_free_ char *cgroup = NULL;
char *arguments[3];
unsigned retries;
int cmd, r;