aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2006-09-13 15:44:15 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2006-09-13 15:44:15 +0000
commitadc4537ced5278db0431f5b36c74f49649c2aaec (patch)
tree2fb31097ea1642384620a22d9459ac064d748f46 /common
parentd6323a7a2e1992b0732c752f09c318042a89a910 (diff)
downloadtigervnc-adc4537ced5278db0431f5b36c74f49649c2aaec.tar.gz
tigervnc-adc4537ced5278db0431f5b36c74f49649c2aaec.zip
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
Diffstat (limited to 'common')
-rw-r--r--common/rfb/SConnection.cxx8
1 files 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;