| 62 | } |
| 63 | |
| 64 | static struct command_result *WARN_UNUSED_RESULT |
| 65 | fail_inv(struct command *cmd, |
| 66 | const struct inv *inv, |
| 67 | const char *fmt, ...) |
| 68 | { |
| 69 | va_list ap; |
| 70 | struct command_result *ret; |
| 71 | |
| 72 | va_start(ap, fmt); |
| 73 | ret = fail_inv_level(cmd, inv, LOG_DBG, fmt, ap); |
| 74 | va_end(ap); |
| 75 | |
| 76 | return ret; |
| 77 | } |
| 78 | |
| 79 | static struct command_result *WARN_UNUSED_RESULT |
| 80 | fail_internalerr(struct command *cmd, |
no test coverage detected