Re: [hatari-devel] MIDI support for Windows & OSX (with PortMidi)

[ Thread Index | Date Index | More Archives ]


On 11/08/2017 12:55 PM, Nicolas Pomarède wrote:
Le 05/11/2017 à 19:25, Eero Tamminen a écrit :

I pushed the changes in that patch to Hatari repository.

Hopefully some Windows user will eventually try it out too... :-)


while compiling, I get a harmless warning :

src/midi.c: In function 'Midi_BuildEvent':
src/midi.c:681:15: attention : variable 'runningStatus' set but not used [-Wunused-but-set-variable]
   static Uint8 runningStatus = 0;

The value in runningStatus is indeed never used (maybe it was intended for some debugging ?).
Can you remove it ?

When I asked about it earlier from Jari, he said that it actually
should be used, but I haven't gotten yet from him a patch which
would fix that.

(It was like the current code in the patches I got from him.)

	- Eero

Mail converted by MHonArc 2.6.19+