Leaving variable uninitialized is dangerous and makes them slow to use. Did you intend to leave this variable uninitialized?
A variable that is defined with the var statement does not have a specified type or has not been initialized before using it.
To correct this error
-
Use type annotation for the variables.
-
Initialize all variables before use.