1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +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

@@ -124,7 +124,7 @@ namespace Godot
return new int[0];
// Calculate count
var count = 0;
int count;
if (increment > 0)
count = ((to - from - 1) / increment) + 1;