remove the cause of a CLANG warning

This commit is contained in:
Mike Brady
2019-01-18 16:27:29 +00:00
parent 4483037719
commit 020a69dfb9
+1 -1
View File
@@ -1100,7 +1100,7 @@ int delay(long *the_delay) {
int oldState;
snd_pcm_state_t state;
snd_pcm_sframes_t my_delay;
snd_pcm_sframes_t my_delay = 0; // this initialisation is to silence a clang warning
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldState); // make this un-cancellable
pthread_cleanup_debug_mutex_lock(&alsa_mutex, 10000, 0);