1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

#18051: Remove unnecessary variable assignments

This commit is contained in:
Xavier Cho
2018-04-08 12:38:02 +09:00
parent fdfc478c88
commit 93dd59d763
5 changed files with 7 additions and 11 deletions

View File

@@ -165,7 +165,7 @@ namespace Godot
// Clamp dot to [-1, 1]
dot = (dot < -1.0f) ? -1.0f : ((dot > 1.0f) ? 1.0f : dot);
var v = new Vector2();
Vector2 v;
if (dot > 0.9995f)
{