From 6fcb5f0c0db59d784e0cc7650dd3b0391004689d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 16 Apr 2021 19:41:25 +0200 Subject: [PATCH] rogueviz::smoothcam:: uninitialized variable fixed --- rogueviz/smoothcam.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rogueviz/smoothcam.cpp b/rogueviz/smoothcam.cpp index e8508927..0d2f85f9 100644 --- a/rogueviz/smoothcam.cpp +++ b/rogueviz/smoothcam.cpp @@ -363,9 +363,7 @@ void show() { } void handle_animation(ld t) { - println(hlog, "handle_animation ", t); - - ld total_total; + ld total_total = 0; vector totals; for(auto& anim: anims) {