]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_pass.c
ccanlint: remove argument to -k/--keep
[ccan] / tools / ccanlint / tests / tests_pass.c
index 6ec17396167122eb89eee33b14c3e5bae9543e24..e1dfba6aee63534430895430cccaa183f63dcf90 100644 (file)
@@ -63,8 +63,6 @@ static void run_test(void *ctx,
                        i->valgrind_log = talloc_asprintf(m,
                                          "%s.valgrind-log",
                                          i->compiled[COMPILE_NORMAL]);
-                       talloc_set_destructor(i->valgrind_log,
-                                             unlink_file_destructor);
 
                        run_command_async(i, *timeleft,
                                          "valgrind -q"
@@ -83,7 +81,6 @@ static void run_test(void *ctx,
 }
 
 static void do_run_tests(struct manifest *m,
-                        bool keep,
                         unsigned int *timeleft,
                         struct score *score)
 {