diff --git a/src/midi/posix/MidiReceiver_pthread.cpp b/src/midi/posix/MidiReceiver_pthread.cpp index 3585282b..43a51485 100644 --- a/src/midi/posix/MidiReceiver_pthread.cpp +++ b/src/midi/posix/MidiReceiver_pthread.cpp @@ -145,4 +145,5 @@ unsigned int MidiReceiver::countPorts() } delete midiin; midiin = NULL; -} \ No newline at end of file + return nPorts; +}