From: Mike Brady Date: Mon, 6 Aug 2018 16:57:42 +0000 (+0100) Subject: Remove bogus possibly uninitialised variable warning. X-Git-Tag: 3.3RC0~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b0889ea5d89f4382cdb7f7e1adab0f724a32159;p=thirdparty%2Fshairport-sync.git Remove bogus possibly uninitialised variable warning. --- diff --git a/audio_alsa.c b/audio_alsa.c index 4ab704fe..577c01c2 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -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;