diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2014-03-30 11:33:30 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2014-03-30 11:33:30 -0400 |
| commit | db1d10a2c8112d4a37d4f0d41297daf4825dce35 (patch) | |
| tree | 7bc83c4c3b9e7d665b7e43f913e554542332163a /tests | |
| parent | ebd128a5a1f3a21bf346ec29d16a620026293d65 (diff) | |
Commented out some function arguments in test programs to avoid compiler warnings.winks
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cmidiin.cpp | 4 | ||||
| -rw-r--r-- | tests/midiout.cpp | 2 | ||||
| -rw-r--r-- | tests/qmidiin.cpp | 2 | ||||
| -rw-r--r-- | tests/sysextest.cpp | 2 |
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++ ) |
