mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix some VS2015 warnings
This commit is contained in:
parent
ca1f6bc7d8
commit
143a36842e
5 changed files with 11 additions and 5 deletions
4
examples/MidiTest/Source/MainComponent.cpp
Normal file → Executable file
4
examples/MidiTest/Source/MainComponent.cpp
Normal file → Executable file
|
|
@ -98,10 +98,8 @@ public:
|
|||
}
|
||||
|
||||
//==========================================================================
|
||||
void selectedRowsChanged (int lastRowSelected) override
|
||||
void selectedRowsChanged (int) override
|
||||
{
|
||||
ignoreUnused (lastRowSelected);
|
||||
|
||||
SparseSet<int> newSelectedItems = getSelectedRows();
|
||||
if (newSelectedItems != lastSelectedItems)
|
||||
{
|
||||
|
|
|
|||
2
examples/OSCMonitor/Source/Main.cpp
Normal file → Executable file
2
examples/OSCMonitor/Source/Main.cpp
Normal file → Executable file
|
|
@ -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.
|
||||
|
|
|
|||
2
examples/OSCMonitor/Source/OSCLogListBox.h
Normal file → Executable file
2
examples/OSCMonitor/Source/OSCLogListBox.h
Normal file → Executable file
|
|
@ -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);
|
||||
|
|
|
|||
2
examples/OSCReceiver/Source/Main.cpp
Normal file → Executable file
2
examples/OSCReceiver/Source/Main.cpp
Normal file → Executable file
|
|
@ -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.
|
||||
|
|
|
|||
6
examples/OSCSender/Source/Main.cpp
Normal file → Executable file
6
examples/OSCSender/Source/Main.cpp
Normal file → Executable file
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue