From adc4537ced5278db0431f5b36c74f49649c2aaec Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Wed, 13 Sep 2006 15:44:15 +0000 Subject: [PATCH] Removed unused variables, added comments. This fixes compilation warnings under Unix. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2093 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/SConnection.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx index 9fbf5f48..876600ba 100644 --- a/common/rfb/SConnection.cxx +++ b/common/rfb/SConnection.cxx @@ -420,13 +420,13 @@ void SConnection::clientInit(bool shared) // FIXME: Move sendInteractionCaps() to a class derived from SMsgWriterV3? void SConnection::sendInteractionCaps() { - // Advertise support for non-standard server-to-client messages. + // Advertise support for non-standard server-to-client messages + // (this version has nothing to advertise). CapsList scaps; - int nServerMsgTypes = scaps.getSize(); - // Advertise support for non-standard client-to-server messages. + // Advertise support for non-standard client-to-server messages + // (this version has nothing to advertise). CapsList ccaps; - int nClientMsgTypes = ccaps.getSize(); // Advertise all supported encoding types (except raw encoding). CapsList ecaps; -- 2.39.5