From: Constantin Kaplinsky Date: Wed, 13 Sep 2006 15:44:15 +0000 (+0000) Subject: Removed unused variables, added comments. This fixes compilation X-Git-Tag: v0.0.90~384^2~211 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=adc4537ced5278db0431f5b36c74f49649c2aaec;p=tigervnc.git 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 --- 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;