mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Clean up some dead code and MSVC warnings.
- Dead code from experiments in SelectionBar removed. - Many warnings about unused parameters fixed with WXUNUSED() - Many warnings about signed / unsigned comparisons cleaned up. - Several 'local variable declared but not used' warnings fixed.
This commit is contained in:
@@ -174,11 +174,11 @@ void MidiIOPrefs::PopulateOrExchange( ShuttleGui & S ) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void MidiIOPrefs::OnHost(wxCommandEvent & e)
|
||||
void MidiIOPrefs::OnHost(wxCommandEvent & WXUNUSED(e))
|
||||
{
|
||||
wxString itemAtIndex;
|
||||
int index = mHost->GetCurrentSelection();
|
||||
if (index >= 0 && index < mHostNames.Count())
|
||||
if (index >= 0 && index < (int)mHostNames.Count())
|
||||
itemAtIndex = mHostNames.Item(index);
|
||||
int nDevices = Pm_CountDevices();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user