From 7e9171488fc47ad2de646a4536794fda21e7303d Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Thu, 6 Jul 2023 14:38:20 +0200 Subject: [PATCH] possible bugfix: return nPorts --- src/midi/posix/MidiReceiver_pthread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; +}