From 242994c73674bc4d450bd22783620a42dc57a47c Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 5 Jun 2020 15:53:07 +1000 Subject: [PATCH] rendertask: initialize nb_frames The code path doesn't ever use this value uninitialized, but GCC is unaware and still presents a warning. --- app/task/render/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/task/render/render.cpp b/app/task/render/render.cpp index bdf9f3571..5c4a0058f 100644 --- a/app/task/render/render.cpp +++ b/app/task/render/render.cpp @@ -83,7 +83,7 @@ void RenderTask::Render(const TimeRangeList& video_range, // Get hashes for each frame and group likes together int progress_counter = 0; - int nb_frames; + int nb_frames = 0; QMap times_to_render;