summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cmidiin.cpp4
-rw-r--r--tests/midiout.cpp2
-rw-r--r--tests/qmidiin.cpp2
-rw-r--r--tests/sysextest.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/cmidiin.cpp b/tests/cmidiin.cpp
index 5aa4053..be78dbb 100644
--- a/tests/cmidiin.cpp
+++ b/tests/cmidiin.cpp
@@ -19,7 +19,7 @@ void usage( void ) {
exit( 0 );
}
-void mycallback( double deltatime, std::vector< unsigned char > *message, void *userData )
+void mycallback( double deltatime, std::vector< unsigned char > *message, void */*userData*/ )
{
unsigned int nBytes = message->size();
for ( unsigned int i=0; i<nBytes; i++ )
@@ -33,7 +33,7 @@ void mycallback( double deltatime, std::vector< unsigned char > *message, void *
// It returns false if there are no ports available.
bool chooseMidiPort( RtMidiIn *rtmidi );
-int main( int argc, char *argv[] )
+int main( int argc, char ** /*argv[]*/ )
{
RtMidiIn *midiin = 0;
diff --git a/tests/midiout.cpp b/tests/midiout.cpp
index 0a9b9fd..05505cc 100644
--- a/tests/midiout.cpp
+++ b/tests/midiout.cpp
@@ -24,7 +24,7 @@
// It returns false if there are no ports available.
bool chooseMidiPort( RtMidiOut *rtmidi );
-int main( int argc, char *argv[] )
+int main( void )
{
RtMidiOut *midiout = 0;
std::vector<unsigned char> message;
diff --git a/tests/qmidiin.cpp b/tests/qmidiin.cpp
index 2adc03d..afd112b 100644
--- a/tests/qmidiin.cpp
+++ b/tests/qmidiin.cpp
@@ -22,7 +22,7 @@
#endif
bool done;
-static void finish( int ignore ){ done = true; }
+static void finish( int /*ignore*/ ){ done = true; }
void usage( void ) {
// Error function in case of incorrect command-line
diff --git a/tests/sysextest.cpp b/tests/sysextest.cpp
index 96eaaa8..8402c74 100644
--- a/tests/sysextest.cpp
+++ b/tests/sysextest.cpp
@@ -31,7 +31,7 @@ void usage( void ) {
// It returns false if there are no ports available.
bool chooseMidiPort( RtMidi *rtmidi );
-void mycallback( double deltatime, std::vector< unsigned char > *message, void *userData )
+void mycallback( double deltatime, std::vector< unsigned char > *message, void * /*userData*/ )
{
unsigned int nBytes = message->size();
for ( unsigned int i=0; i<nBytes; i++ )