chiark / gitweb /
coredumpctl: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 26 Jun 2014 21:16:24 +0000 (23:16 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 26 Jun 2014 21:16:58 +0000 (23:16 +0200)
src/journal/coredumpctl.c

index ce6159d..5a6c897 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;