mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-01 18:58:22 +00:00
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:
1 parent
c4cbb631a9
commit
1db740039b
1 file changed
+1
-1
@@ -230,7 +230,7 @@ var _CPCibObjectDataNamesKeysKey = @"_CPCibObjectDataNamesKeysKey
|
||||
|
||||
if ([object respondsToSelector:@selector(_cibInstantiate)])
|
||||
{
|
||||
var instantiatedObject = [object _cibInstantiate];
|
||||
instantiatedObject = [object _cibInstantiate];
|
||||
|
||||
if (instantiatedObject !== object)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user