diff options
author | N.N. <matju@users.sourceforge.net> | 2009-04-27 05:55:16 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-04-27 05:55:16 +0000 |
commit | e08e118710035e63396959d0036e4ac35d8aeb3c (patch) | |
tree | 66249a23002f437ed3f8b8cddaf3af4a72e4471d /desiredata/src | |
parent | 2f42344fa79297e21cfd452fde7463b4e5446622 (diff) |
remove warnings
svn path=/trunk/; revision=11167
Diffstat (limited to 'desiredata/src')
-rw-r--r-- | desiredata/src/s_midi_mmio.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |