diff host/tools/configtool/standalone/wxwin/templatesdlg.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 53088a1817a7
children
line wrap: on
line diff
--- a/host/tools/configtool/standalone/wxwin/templatesdlg.cpp
+++ b/host/tools/configtool/standalone/wxwin/templatesdlg.cpp
@@ -385,6 +385,7 @@ void ecTemplatesDialog::OnSelHardwareTem
     UpdateDetails (); // display new hardware packages in details box
 
     TransferDataToWindow (); // display new target description
+    CYG_UNUSED_PARAM(wxChoice *, cdlPackageCtrl);
 }
 
 void ecTemplatesDialog::OnSelPackageTemplates(wxCommandEvent& event)
@@ -400,6 +401,7 @@ void ecTemplatesDialog::OnSelPackageTemp
 	m_template = template_i->c_str();
 	
 	UpdateVersionList (wxT("")); // repopulate template versions combo box and select most recent version
+    CYG_UNUSED_PARAM(wxComboBox *, cdlHardwareCtrl);
 }
 
 void ecTemplatesDialog::OnSelPackageVersion(wxCommandEvent& event)
@@ -452,6 +454,8 @@ void ecTemplatesDialog::UpdateVersionLis
 	
 	// enable the version combo box only if there are multiple versions
 	cdlVersionCtrl->Enable (versions.size () > 1);
+    CYG_UNUSED_PARAM(wxComboBox *, cdlHardwareCtrl);
+    CYG_UNUSED_PARAM(wxChoice *, cdlPackageCtrl);
 }
 
 void ecTemplatesDialog::UpdateDetails()