Quieten an incorrect compiler warning

This commit is contained in:
Mike Brady
2019-02-05 12:18:16 +00:00
parent 3d1ee2e03f
commit 1fc1247bb0
+1 -1
View File
@@ -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;