diff --git a/SheepShaver/src/Unix/Linux/sheepthreads.c b/SheepShaver/src/Unix/Linux/sheepthreads.c index fcb39969..c6850816 100644 --- a/SheepShaver/src/Unix/Linux/sheepthreads.c +++ b/SheepShaver/src/Unix/Linux/sheepthreads.c @@ -358,9 +358,6 @@ int sem_destroy(sem_t *sem) int sem_wait(sem_t *sem) { - int cnt = 0; - struct timespec tm; - if (sem == NULL) { errno = EINVAL; return -1;