Fixed: Variable in if statement overshadows variable in enclosing block

If statement variable ‘instantiatedObject’ on line 229 of
_CPCibObjectData.j overshadows a variable with the same name declared
on line 233 in the enclosing block. Variable is added to array outside
the enclosing if statement.

Refs: #2601
This commit is contained in:
Daniel committed 2018-03-20 11:36:19 -07:00
1 parent c4cbb631a9
commit 1db740039b
1 file changed
+1 -1
+1 -1
View File
@@ -230,7 +230,7 @@ var _CPCibObjectDataNamesKeysKey = @"_CPCibObjectDataNamesKeysKey
if ([object respondsToSelector:@selector(_cibInstantiate)])
{
var instantiatedObject = [object _cibInstantiate];
instantiatedObject = [object _cibInstantiate];
if (instantiatedObject !== object)
{