Skip to content
Browse files

(minor) No need for the extra variable

  • Loading branch information...
1 parent 0cb4636 commit 312a0606dac731f6d2809feccf44aa144104d9fc @ELLIOTTCABLE committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 YRSolcounter.m
View
5 YRSolcounter.m
@@ -25,9 +25,8 @@ -(id) initWithBundle: (NSBundle*)bundle {
userInfo: nil
repeats: YES];
- NSNib *nib = [[[NSNib alloc] initWithNibNamed: @"Solcounter" bundle: bundle] autorelease];
-
- [nib instantiateNibWithOwner: self topLevelObjects: /* sets `textField` */ nil];
+ [[[[NSNib alloc] initWithNibNamed: @"Solcounter" bundle: bundle] autorelease]
+ instantiateNibWithOwner: self topLevelObjects: /* sets `textField` */ nil];
[self setView: textField];
[self initTextField];

0 comments on commit 312a060

Please sign in to comment.
Something went wrong with that request. Please try again.