From aa302a4b4579907863459dee43e67b8680390d2f Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 23 May 2009 17:26:59 +0000 Subject: removed bull svn path=/trunk/; revision=11483 --- desiredata/src/s_midi_oss.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'desiredata/src/s_midi_oss.c') diff --git a/desiredata/src/s_midi_oss.c b/desiredata/src/s_midi_oss.c index 1cfeae7c..f4a7cce1 100644 --- a/desiredata/src/s_midi_oss.c +++ b/desiredata/src/s_midi_oss.c @@ -152,13 +152,10 @@ void sys_poll_midi() { } } #else -/* this version uses the asynchronous "read()" ... */ void sys_poll_midi() { int throttle = 100; - struct timeval timout; - int did = 1, maxfd = 0; + int did = 1; while (did) { - fd_set readset, writeset, exceptset; did = 0; if (throttle-- < 0) break; for (int i=0; i