From: Mike Brady Date: Tue, 5 Feb 2019 12:18:16 +0000 (+0000) Subject: Quieten an incorrect compiler warning X-Git-Tag: 3.3RC0~66^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc1247bb0eaaad7e43e5228a33b22e371c6c090;p=thirdparty%2Fshairport-sync.git Quieten an incorrect compiler warning --- diff --git a/player.c b/player.c index ccae0795..72a79ef8 100644 --- a/player.c +++ b/player.c @@ -2553,7 +2553,7 @@ void player_volume_without_notification(double airplay_volume, rtsp_conn_info *c // range has been specified // the range might imply that both hw and software mixers are needed, so calculate this - int32_t hw_max_db, hw_min_db; + int32_t hw_max_db = 0, hw_min_db = 0; // zeroed to quieten an incorrect uninitialised warning int32_t sw_max_db = 0, sw_min_db = -9630; if (config.output->parameters) { volume_mode = vol_hw_only;