diff options
Diffstat (limited to 'win/vncviewer/ConnectionDialog.cxx')
-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 |