diff options
Diffstat (limited to 'qemu-error.c')
-rw-r--r-- | qemu-error.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/qemu-error.c b/qemu-error.c index 2eadbfc436..5a35e7c1c2 100644 --- a/qemu-error.c +++ b/qemu-error.c @@ -207,21 +207,3 @@ void error_report(const char *fmt, ...) va_end(ap); error_printf("\n"); } - -void qerror_report_internal(const char *file, int linenr, const char *func, - const char *fmt, ...) -{ - va_list va; - QError *qerror; - - va_start(va, fmt); - qerror = qerror_from_info(file, linenr, func, fmt, &va); - va_end(va); - - if (monitor_cur_is_qmp()) { - monitor_set_error(cur_mon, qerror); - } else { - qerror_print(qerror); - QDECREF(qerror); - } -} |