aboutsummaryrefslogtreecommitdiff
path: root/sandbox_ui.lv2
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-11-09 11:30:44 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-11-09 11:30:44 +0100
commit137d8f10ec2ba9b4f7f96481bb3f6d9f7976a785 (patch)
tree811ab03eec03511bc9bef520292518135f2225b6 /sandbox_ui.lv2
parent3c7d82fa80121dfd75b38cf1ac915f9ffd2045ec (diff)
downloadsynthpod-137d8f10ec2ba9b4f7f96481bb3f6d9f7976a785.zip
synthpod-137d8f10ec2ba9b4f7f96481bb3f6d9f7976a785.tar.gz
synthpod-137d8f10ec2ba9b4f7f96481bb3f6d9f7976a785.tar.bz2
synthpod-137d8f10ec2ba9b4f7f96481bb3f6d9f7976a785.tar.xz
bin: fixes for synthpod_sandbox_x11 timed polling.
Diffstat (limited to 'sandbox_ui.lv2')
-rw-r--r--sandbox_ui.lv2/sandbox_io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox_ui.lv2/sandbox_io.h b/sandbox_ui.lv2/sandbox_io.h
index 4f6940e..7b89c1f 100644
--- a/sandbox_ui.lv2/sandbox_io.h
+++ b/sandbox_ui.lv2/sandbox_io.h
@@ -383,8 +383,7 @@ _sandbox_io_timedwait(sandbox_io_t *io, const struct timespec *abs_timeout)
? io->to_master
: io->from_master;
- int s;
- while((s = sem_timedwait(&rx->sem, abs_timeout)) == -1)
+ while(sem_timedwait(&rx->sem, abs_timeout) == -1)
{
switch(errno)
{