1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-27 15:08:39 +01:00

Clean up most remaining MSVC warnings.

This commit is contained in:
James Crook
2018-01-06 13:03:48 +00:00
parent b2f8cf180f
commit d2fe7b1757
21 changed files with 685 additions and 667 deletions

View File

@@ -203,7 +203,7 @@ NoteTrackVRulerMenuTable &NoteTrackVRulerMenuTable::Instance()
return instance;
}
void NoteTrackVRulerMenuTable::InitMenu(Menu *pMenu, void *pUserData)
void NoteTrackVRulerMenuTable::InitMenu(Menu *WXUNUSED(pMenu), void *pUserData)
{
mpData = static_cast<InitMenuData*>(pUserData);
}
@@ -247,7 +247,7 @@ UIHandle::Result NoteTrackVZoomHandle::Release
return RefreshNone;
const wxMouseEvent &event = evt.event;
const bool shiftDown = event.ShiftDown();
//const bool shiftDown = event.ShiftDown();
const bool rightUp = event.RightUp();

View File

@@ -131,7 +131,7 @@ public:
// Convenience wrapper for the above
template<void (Scrubber::*pfn)(const CommandContext&)>
void Thunk(wxCommandEvent &dummy)
void Thunk(wxCommandEvent &)
{ (this->*pfn)(*GetActiveProject()); }
// A string to put in the leftmost part of the status bar