aboutsummaryrefslogtreecommitdiff
path: root/util/error-report.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-04-20 17:26:13 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-04-21 17:09:09 +0400
commit756a98dd701ec3a9127c700ba9e7e93254b05f28 (patch)
tree4ddca1486227ea02155a7f3614e8b95ac374d624 /util/error-report.c
parenta7bd942c900ff83b25ccef68629b34831db03a59 (diff)
Move error_printf_unless_qmp() with monitor unit
Since it depends on monitor code, and error_vprintf_unless_qmp() is already there. This will help to move error-report in a common subproject. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220420132624.2439741-31-marcandre.lureau@redhat.com>
Diffstat (limited to 'util/error-report.c')
-rw-r--r--util/error-report.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/util/error-report.c b/util/error-report.c
index 4ec7b30bcb..dbadaf206d 100644
--- a/util/error-report.c
+++ b/util/error-report.c
@@ -40,17 +40,6 @@ int error_printf(const char *fmt, ...)
return ret;
}
-int error_printf_unless_qmp(const char *fmt, ...)
-{
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = error_vprintf_unless_qmp(fmt, ap);
- va_end(ap);
- return ret;
-}
-
static Location std_loc = {
.kind = LOC_NONE
};