mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-28 09:22:03 +00:00
Move variable into initialization. Remove unused variable.
This commit is contained in:
1 parent
391abe4991
commit
5830269fea
1 file changed
+1
-4
@@ -26,14 +26,11 @@
|
||||
|
||||
- (id)NS_initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
_allowsEmptySelection = YES;
|
||||
|
||||
if (self = [super NS_initWithCoder:aCoder])
|
||||
{
|
||||
_isSelectable = [aCoder decodeBoolForKey:@"NSSelectable"];
|
||||
_allowsEmptySelection = YES;
|
||||
_allowsMultipleSelection = [aCoder decodeBoolForKey:@"NSAllowsMultipleSelection"];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user