aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/vnc.c')
-rw-r--r--ui/vnc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index 93775694b2..d0ffcc54af 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3088,9 +3088,6 @@ void vnc_display_open(DisplayState *ds, const char *display, Error **errp)
return;
fail:
- if (!error_is_set(errp)) {
- error_set(errp, QERR_VNC_SERVER_FAILED, display);
- }
g_free(vs->display);
vs->display = NULL;
}