From 62129469278b284b91845a678b517c04cefbebfe Mon Sep 17 00:00:00 2001 From: Nathan Warden Date: Sat, 2 May 2015 12:17:59 -0500 Subject: [PATCH] Fixed some items caught in cppcheck --- scene/3d/sprite_3d.cpp | 2 +- scene/resources/animation.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp index 35f6523c6af..4952f742df6 100644 --- a/scene/3d/sprite_3d.cpp +++ b/scene/3d/sprite_3d.cpp @@ -292,7 +292,7 @@ SpriteBase3D::SpriteBase3D() { parent_sprite=NULL; pI=NULL; - for(int i=0;i<4;i++) + for(int i=0;i >& p_keys, float p_time, Inter if (p_ok) *p_ok=true; - - int next; + + int next=0; float c=0; // prepare for all cases of interpolation