| 59 | } |
| 60 | |
| 61 | static int task_finished(int result UNUSED, |
| 62 | struct strbuf *err, |
| 63 | void *pp_cb UNUSED, |
| 64 | void *pp_task_cb) |
| 65 | { |
| 66 | if (err) |
| 67 | strbuf_addstr(err, "asking for a quick stop\n"); |
| 68 | else |
| 69 | fprintf(stderr, "asking for a quick stop\n"); |
| 70 | |
| 71 | FREE_AND_NULL(pp_task_cb); |
| 72 | |
| 73 | return 1; |
| 74 | } |
| 75 | |
| 76 | static int task_finished_quiet(int result UNUSED, |
| 77 | struct strbuf *err UNUSED, |
nothing calls this directly
no test coverage detected