From d722ac6c045c501ec51c4cae7645e3bcc7e086d7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 18 Apr 2017 05:57:38 +0200 Subject: [PATCH] Cleanup --- audio/audio_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audio/audio_driver.c b/audio/audio_driver.c index 6289fc14de..3352b72e33 100644 --- a/audio/audio_driver.c +++ b/audio/audio_driver.c @@ -163,7 +163,8 @@ static bool audio_driver_data_own = false; static void compute_audio_buffer_statistics(void) { unsigned i, low_water_size, high_water_size, avg, stddev; - float avg_filled, deviation; + float avg_filled = 0.0f; + float deviation = 0.0f; uint64_t accum = 0; uint64_t accum_var = 0; unsigned low_water_count = 0;