summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-26 23:16:24 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-26 23:16:58 +0200
commitde8f6e546315fd9d016ff51a52100a669261ba43 (patch)
tree5e741a50f10bd7d046a4c0b30aadb6e3db670142 /src
parent2bb9a7a2864cf8e0703ec207c6dcf0fb7fe50275 (diff)
coredumpctl: remove unused variable
Diffstat (limited to 'src')
-rw-r--r--src/journal/coredumpctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index ce6159d62c..5a6c897074 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -718,8 +718,7 @@ static int dump_core(sd_journal* j) {
}
static int run_gdb(sd_journal *j) {
-
- _cleanup_free_ char *exe = NULL, *coredump = NULL, *path = NULL;
+ _cleanup_free_ char *exe = NULL, *path = NULL;
bool unlink_path = false;
const char *data;
siginfo_t st;