From 6b638cae8b1c063d21ab349077bec149996b9d47 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 31 May 2017 02:21:43 +0200 Subject: [PATCH] prevent uninitialized variable --- tasks/task_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/task_overlay.c b/tasks/task_overlay.c index 5fb2464922..0f43e7ffae 100644 --- a/tasks/task_overlay.c +++ b/tasks/task_overlay.c @@ -110,12 +110,12 @@ static bool task_overlay_load_desc( bool normalized, float alpha_mod, float range_mod) { float width_mod, height_mod; - float tmp_float; uint32_t box_hash, key_hash; char overlay_desc_key[64]; char conf_key[64]; char overlay_desc_normalized_key[64]; char overlay[256]; + float tmp_float = 0.0f; bool tmp_bool = false; bool ret = true; bool by_pixel = false;