From e08e118710035e63396959d0036e4ac35d8aeb3c Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 27 Apr 2009 05:55:16 +0000 Subject: remove warnings svn path=/trunk/; revision=11167 --- desiredata/src/s_midi_mmio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desiredata') diff --git a/desiredata/src/s_midi_mmio.c b/desiredata/src/s_midi_mmio.c index 95c95d76..e4310680 100644 --- a/desiredata/src/s_midi_mmio.c +++ b/desiredata/src/s_midi_mmio.c @@ -328,7 +328,6 @@ void FAR PASCAL midiInputHandler(HMIDIIN hMidiIn, WORD wMsg, DWORD dwInstance, D void msw_open_midiin(int nmidiin, int *midiinvec) { UINT wRtn; - char szErrorText[256]; unsigned int i; unsigned int ndev = 0; /* Allocate a circular buffer for low-level MIDI input. This buffer is filled by the low-level callback function @@ -405,7 +404,9 @@ void sys_putmidibyte(int portno, int byte) { void sys_poll_midi() { static EVENT msw_nextevent; static int msw_isnextevent; +#ifdef MIDI_TIMESTAMP static double msw_nexteventtime; +#endif while (1) { if (!msw_isnextevent) { if (!GetEvent(lpInputBuffer, &msw_nextevent)) break; -- cgit v1.2.1