From 38e5756a614e9a492d1bb181166cd031bc87e159 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 29 Sep 2016 16:45:34 +0100 Subject: ui: remove 'ws_tls' field from VncState The 'ws_tls' field in VncState is only ever representing the result of 'tlscreds != NULL' and is thus pointless. Replace use of 'ws_tls' with a direct check against 'tlscreds' Signed-off-by: Daniel P. Berrange Message-id: 1475163940-26094-4-git-send-email-berrange@redhat.com Signed-off-by: Gerd Hoffmann --- ui/vnc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ui/vnc.h') diff --git a/ui/vnc.h b/ui/vnc.h index a0519cc9d6..223af38515 100644 --- a/ui/vnc.h +++ b/ui/vnc.h @@ -172,7 +172,6 @@ struct VncDisplay int auth; int subauth; /* Used by VeNCrypt */ int ws_auth; /* Used by websockets */ - bool ws_tls; /* Used by websockets */ bool lossy; bool non_adaptive; QCryptoTLSCreds *tlscreds; -- cgit v1.2.1