]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Remove bogus possibly uninitialised variable warning.
authorMike Brady <mikebrady@eircom.net>
Mon, 6 Aug 2018 16:57:42 +0000 (17:57 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 6 Aug 2018 16:57:42 +0000 (17:57 +0100)
audio_alsa.c

index 4ab704fe2cdee6ec6adf97ff894f173af21599d5..577c01c29f57a414a6447899d25c71124f045283 100644 (file)
@@ -848,7 +848,7 @@ static void start(int i_sample_rate, int i_sample_format) {
 
 int delay(long *the_delay) {
   // snd_pcm_sframes_t is a signed long -- hence the return of a "long"
-  int reply;
+  int reply = 0;
   // debug(3,"audio_alsa delay called.");
   if (alsa_handle == NULL) {
     return -ENODEV;