You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
#18051: Do not use var in a for-loop, or where type is not obvious
(cherry picked from commit e59fad3924)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
72bcacf2b6
commit
d330bee1c2
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user