From: Peter Åstrand Date: Thu, 11 Dec 2008 08:40:05 +0000 (+0000) Subject: Eliminated unused variable X-Git-Tag: v0.0.90~295 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=52da3d4c5e9546b115d01bce639bd23ef25258f5;p=tigervnc.git Eliminated unused variable git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3378 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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