Mercurial > ecos
diff host/tools/configtool/standalone/wxwin/packagesdlg.cpp @ 3282:b340d0ab5dd3
* configtool/standalone/wxwin/configtool.cpp,
configtool/standalone/wxwin/configtooldoc.cpp,
configtool/standalone/wxwin/configtree.cpp,
configtool/standalone/wxwin/configtree.h,
configtool/standalone/wxwin/filename.cpp,
configtool/standalone/wxwin/packagesdlg.cpp,
configtool/standalone/wxwin/propertywin.cpp,
configtool/standalone/wxwin/runtestsdlg.cpp,
configtool/standalone/wxwin/templatesdlg.cpp,
ecostest/common/eCosTest.cpp: Silence unused variable warnings with
recent GCC. [ Bugzilla 1001950 ]
| author | jld |
|---|---|
| date | Thu, 13 Mar 2014 15:22:25 +0000 |
| parents | 4b1912ce7f4f |
| children |
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/packagesdlg.cpp +++ b/host/tools/configtool/standalone/wxwin/packagesdlg.cpp @@ -625,6 +625,8 @@ void ecPackagesDialog::OnClickListBox1(w // TODO: check that this works for multiple-selection listboxes DisplayDescription(availableList->GetString(sel)); } +#else + CYG_UNUSED_PARAM(wxListBox *, availableList); #endif ClearSelections(*useList); @@ -646,6 +648,8 @@ void ecPackagesDialog::OnClickListBox2(w // TODO: check that this works for multiple-selection listboxes DisplayDescription(useList->GetString(sel)); } +#else + CYG_UNUSED_PARAM(wxListBox *, useList); #endif ClearSelections(*availableList); @@ -781,6 +785,8 @@ void ecPackagesDialog::Insert(const wxSt m_added.Add(str); //(added ? useList : availableList) -> Append(str); + CYG_UNUSED_PARAM(wxListBox *, availableList); + CYG_UNUSED_PARAM(wxListBox *, useList); } bool ecPackagesDialog::IsAdded(const wxString& str) @@ -967,6 +973,7 @@ void ecPackagesDialog::UpdatePackageDesc m_packageDescription = wxEmptyString; } TransferDataToWindow (); + CYG_UNUSED_PARAM(ecConfigToolDoc *, pDoc); } void ecPackagesDialog::UpdateVersionList ()
