diff --git a/examples/MidiTest/Source/MainComponent.cpp b/examples/MidiTest/Source/MainComponent.cpp old mode 100644 new mode 100755 index 8e067d9849..e4ac1074d8 --- a/examples/MidiTest/Source/MainComponent.cpp +++ b/examples/MidiTest/Source/MainComponent.cpp @@ -98,10 +98,8 @@ public: } //========================================================================== - void selectedRowsChanged (int lastRowSelected) override + void selectedRowsChanged (int) override { - ignoreUnused (lastRowSelected); - SparseSet newSelectedItems = getSelectedRows(); if (newSelectedItems != lastSelectedItems) { diff --git a/examples/OSCMonitor/Source/Main.cpp b/examples/OSCMonitor/Source/Main.cpp old mode 100644 new mode 100755 index 75b039cd2a..2b0e4dd4ec --- a/examples/OSCMonitor/Source/Main.cpp +++ b/examples/OSCMonitor/Source/Main.cpp @@ -26,6 +26,7 @@ public: //============================================================================== void initialise (const String& commandLine) override { + ignoreUnused (commandLine); // This method is where you should put your application's initialisation code.. mainWindow = new MainWindow (getApplicationName()); @@ -48,6 +49,7 @@ public: void anotherInstanceStarted (const String& commandLine) override { + ignoreUnused (commandLine); // When another instance of the app is launched while this one is running, // this method is invoked, and the commandLine parameter tells you what // the other instance's command-line arguments were. diff --git a/examples/OSCMonitor/Source/OSCLogListBox.h b/examples/OSCMonitor/Source/OSCLogListBox.h old mode 100644 new mode 100755 index 555ab3d5d0..25f3eb6701 --- a/examples/OSCMonitor/Source/OSCLogListBox.h +++ b/examples/OSCMonitor/Source/OSCLogListBox.h @@ -56,6 +56,8 @@ public: //============================================================================== void paintListBoxItem (int row, Graphics& g, int width, int height, bool rowIsSelected) override { + ignoreUnused (rowIsSelected); + if (isPositiveAndBelow (row, oscLogList.size())) { g.setColour (Colours::black); diff --git a/examples/OSCReceiver/Source/Main.cpp b/examples/OSCReceiver/Source/Main.cpp old mode 100644 new mode 100755 index f663dd1da7..e69e37c933 --- a/examples/OSCReceiver/Source/Main.cpp +++ b/examples/OSCReceiver/Source/Main.cpp @@ -26,6 +26,7 @@ public: //============================================================================== void initialise (const String& commandLine) override { + ignoreUnused (commandLine); // This method is where you should put your application's initialisation code.. mainWindow = new MainWindow (getApplicationName()); @@ -48,6 +49,7 @@ public: void anotherInstanceStarted (const String& commandLine) override { + ignoreUnused (commandLine); // When another instance of the app is launched while this one is running, // this method is invoked, and the commandLine parameter tells you what // the other instance's command-line arguments were. diff --git a/examples/OSCSender/Source/Main.cpp b/examples/OSCSender/Source/Main.cpp old mode 100644 new mode 100755 index 63225df86f..0b3ad36757 --- a/examples/OSCSender/Source/Main.cpp +++ b/examples/OSCSender/Source/Main.cpp @@ -24,8 +24,9 @@ public: bool moreThanOneInstanceAllowed() override { return true; } //============================================================================== - void initialise (const String& /*commandLine*/) override + void initialise (const String& commandLine) override { + ignoreUnused (commandLine); // This method is where you should put your application's initialisation code.. mainWindow = new MainWindow (getApplicationName()); @@ -46,8 +47,9 @@ public: quit(); } - void anotherInstanceStarted (const String& /*commandLine*/) override + void anotherInstanceStarted (const String& commandLine) override { + ignoreUnused (commandLine); // When another instance of the app is launched while this one is running, // this method is invoked, and the commandLine parameter tells you what // the other instance's command-line arguments were.