| 77 | } |
| 78 | |
| 79 | static struct command_result *WARN_UNUSED_RESULT |
| 80 | fail_internalerr(struct command *cmd, |
| 81 | const struct inv *inv, |
| 82 | const char *fmt, ...) |
| 83 | { |
| 84 | va_list ap; |
| 85 | struct command_result *ret; |
| 86 | |
| 87 | va_start(ap, fmt); |
| 88 | ret = fail_inv_level(cmd, inv, LOG_BROKEN, fmt, ap); |
| 89 | va_end(ap); |
| 90 | |
| 91 | return ret; |
| 92 | } |
| 93 | |
| 94 | static struct command_result *pay_done(struct command *cmd, |
| 95 | const char *method, |
no test coverage detected