]> source.dussan.org Git - tigervnc.git/commitdiff
Removed unused variables, added comments. This fixes compilation
authorConstantin Kaplinsky <const@tightvnc.com>
Wed, 13 Sep 2006 15:44:15 +0000 (15:44 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Wed, 13 Sep 2006 15:44:15 +0000 (15:44 +0000)
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

index 9fbf5f488a32298192a2cfdbb0a909d19e70bf53..876600baa971df5530397acdeba025dccfc4ae69 100644 (file)
@@ -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;