Skip to content

Commit

Permalink
Fixed OCLint Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Jul 30, 2015
1 parent 3103644 commit 6faa727
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Core/Source/DTVersion.m
Expand Up @@ -97,10 +97,10 @@ + (DTVersion *)versionWithString:(NSString*)versionString

+ (DTVersion*)appBundleVersion
{
NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
DTVersion* retVersion = [DTVersion versionWithString:version];
return retVersion;
NSDictionary *info = [[NSBundle mainBundle] infoDictionary];
NSString *version = info[@"CFBundleVersion"];
return [DTVersion versionWithString:version];
}

+ (DTVersion *)osVersion
Expand Down

0 comments on commit 6faa727

Please sign in to comment.