diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-04 14:19:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-04 14:19:05 +0200 |
| commit | 181af9b48431a5697056c561c9e2edafc7d738f0 (patch) | |
| tree | d184ffe31ecab4cbcb194fa67f294b80b505cc51 /scene/animation/animation_blend_space_2d.cpp | |
| parent | 674b2567ae9fc367c01de1a70f83a62d8a6de071 (diff) | |
| parent | f48ee838e7b88a630f9dea76b697eb4626d69abc (diff) | |
Merge pull request #22713 from akien-mga/fix-warnings
Fix GCC 8 warnings about potentially unitialized variables
Diffstat (limited to 'scene/animation/animation_blend_space_2d.cpp')
| -rw-r--r-- | scene/animation/animation_blend_space_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_blend_space_2d.cpp b/scene/animation/animation_blend_space_2d.cpp index f5f899a6cd..9321133d5f 100644 --- a/scene/animation/animation_blend_space_2d.cpp +++ b/scene/animation/animation_blend_space_2d.cpp @@ -468,7 +468,7 @@ float AnimationNodeBlendSpace2D::process(float p_time, bool p_seek) { } first = true; - float mind; + float mind = 0; for (int i = 0; i < blend_points_used; i++) { bool found = false; |