Fixed static analyzer warnings on API missuse

This commit is contained in:
Michael Starke
2014-08-17 13:32:39 +02:00
parent b685afdf3f
commit b56c1ee020
2 changed files with 5 additions and 1 deletions

View File

@@ -119,6 +119,10 @@ NSString *const kMPIconCell = @"IconCell";
association = item;
}
if(nil == entry || nil == group || nil == association) {
return nil;
}
if([[tableColumn identifier] isEqualToString:kMPTitleCell]) {
if(entry) {
return entry.title;