1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 08:06:32 +01:00

Fix warnings for unused variables and functions

This commit is contained in:
Paul Licameli
2016-02-26 14:41:17 -05:00
parent 9f6192a442
commit 60bcd7aea2
22 changed files with 44 additions and 8 deletions

View File

@@ -971,8 +971,6 @@ void CommandManager::Enable(const wxString &name, bool enabled)
void CommandManager::EnableUsingFlags(wxUint32 flags, wxUint32 mask)
{
unsigned int i;
for(const auto &entry : mCommandList) {
if (entry->multi && entry->index != 0)
continue;
@@ -1158,8 +1156,6 @@ bool CommandManager::HandleMenuID(int id, wxUint32 flags, wxUint32 mask)
/// code to run.
bool CommandManager::HandleTextualCommand(wxString & Str, wxUint32 flags, wxUint32 mask)
{
unsigned int i;
// Linear search for now...
for (const auto &entry : mCommandList)
{