From a2f45bc02ae9be18119d2fb88042ef19e7e9247f Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 17 Mar 2015 13:42:53 +0000 Subject: ui: remove unused 'wiremode' variable in VncState struct Signed-off-by: Daniel P. Berrange Signed-off-by: Gerd Hoffmann --- ui/vnc-tls.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ui/vnc-tls.c') diff --git a/ui/vnc-tls.c b/ui/vnc-tls.c index 0f59f9b28e..de1cb342a4 100644 --- a/ui/vnc-tls.c +++ b/ui/vnc-tls.c @@ -421,14 +421,12 @@ void vnc_tls_client_cleanup(struct VncState *vs) gnutls_deinit(vs->tls.session); vs->tls.session = NULL; } - vs->tls.wiremode = VNC_WIREMODE_CLEAR; g_free(vs->tls.dname); #ifdef CONFIG_VNC_WS if (vs->ws_tls.session) { gnutls_deinit(vs->ws_tls.session); vs->ws_tls.session = NULL; } - vs->ws_tls.wiremode = VNC_WIREMODE_CLEAR; g_free(vs->ws_tls.dname); #endif /* CONFIG_VNC_WS */ } -- cgit v1.2.3