summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-11 08:40:05 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-11 08:40:05 +0000
commit52da3d4c5e9546b115d01bce639bd23ef25258f5 (patch)
treed287a816807fca07b4ea630ff9a16729b100f52c /win
parenta2f8d3c4b2938f3a6ee96b732a83462351036d4e (diff)
downloadtigervnc-52da3d4c5e9546b115d01bce639bd23ef25258f5.tar.gz
tigervnc-52da3d4c5e9546b115d01bce639bd23ef25258f5.zip
Eliminated unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3378 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r--win/vncviewer/ConnectionDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/ConnectionDialog.cxx b/win/vncviewer/ConnectionDialog.cxx
index e7c6b0a5..29fd1bc9 100644
--- a/win/vncviewer/ConnectionDialog.cxx
+++ b/win/vncviewer/ConnectionDialog.cxx
@@ -44,7 +44,7 @@ void ConnectionDialog::initDialog() {
// Locate the combo-box
// NB: TCharArray converts the supplied char* and assumes ownership!
for (i=mru.begin(); i!=mru.end(); i++) {
- int index = SendMessage(box, CB_ADDSTRING, 0, (LPARAM)TCharArray(*i).buf);
+ SendMessage(box, CB_ADDSTRING, 0, (LPARAM)TCharArray(*i).buf);
}
// Select the first item in the list