Move variable into initialization. Remove unused variable.

This commit is contained in:
Andrew Hankinson committed 2013-02-10 23:57:47 -05:00
1 parent 391abe4991
commit 5830269fea
1 file changed
+1 -4
+1 -4
View File
@@ -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;
}