diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-11 08:40:05 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-11 08:40:05 +0000 |
commit | 52da3d4c5e9546b115d01bce639bd23ef25258f5 (patch) | |
tree | d287a816807fca07b4ea630ff9a16729b100f52c /win | |
parent | a2f8d3c4b2938f3a6ee96b732a83462351036d4e (diff) | |
download | tigervnc-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.cxx | 2 |
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 |