Permalink
Browse files

Changed initWithPublicKey: so the static analyzer doesn't show a warn…

…ing.
  • Loading branch information...
1 parent 60843cb commit 22c6242bbaadfb84802ebe335f3f3705d23822ff @ksuther committed Jun 15, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 objc/CFobLicVerifier.m
View
@@ -78,9 +78,9 @@ - (id)init {
}
- (id)initWithPublicKey:(NSString *)pubKey {
- if (![super init])
- return nil;
- [self setPublicKey:pubKey];
+ if ( (self = [super init]) ) {
+ [self setPublicKey:pubKey];
+ }
return self;
}

0 comments on commit 22c6242

Please sign in to comment.