chiark / gitweb /
coredumpctl: remove unused variable
[elogind.git] / src / journal / coredumpctl.c
index ce6159d62c2c42713fbd14846761d5f68940e2a1..5a6c89707431b90180c1aab256db2c0c97328937 100644 (file)
@@ -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;