1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

#18051: Do not use var in a for-loop, or where type is not obvious

This commit is contained in:
Xavier Cho
2018-04-17 07:33:42 +09:00
parent 94edd92248
commit e59fad3924
7 changed files with 22 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ namespace Godot
{
var ret = new Dictionary<object, object>();
for (var i = 0; i < keys.Length; i++)
for (int i = 0; i < keys.Length; i++)
{
ret.Add(keys[i], values[i]);
}