summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/GD.cs
diff options
context:
space:
mode:
authorXavier Cho <mysticfallband@gmail.com>2018-04-08 12:38:02 +0900
committerXavier Cho <mysticfallband@gmail.com>2018-04-17 07:39:37 +0900
commit93dd59d763146938d59defe270f43091b5579a0a (patch)
treec2d688f237e932122d4ba68db5328134b914620a /modules/mono/glue/cs_files/GD.cs
parentfdfc478c888db89c44c748f273ef7fe4466d5c89 (diff)
#18051: Remove unnecessary variable assignments
Diffstat (limited to 'modules/mono/glue/cs_files/GD.cs')
-rw-r--r--modules/mono/glue/cs_files/GD.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/cs_files/GD.cs b/modules/mono/glue/cs_files/GD.cs
index f0967f2269..f565d092dd 100644
--- a/modules/mono/glue/cs_files/GD.cs
+++ b/modules/mono/glue/cs_files/GD.cs
@@ -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;