forked from organicmaps/organicmaps
[ios] Fixed warning.
This commit is contained in:
parent
3085aba1f5
commit
5abeba68cb
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ NSString * const kPlacePageActionBarNibName = @"PlacePageActionBar";
|
|||
{
|
||||
BOOL const isSelected = buttonType == EButton::Bookmark ? self.isBookmark : NO;
|
||||
if (NSString * title = titleForButton(buttonType, isSelected))
|
||||
[titles addObject:titleForButton(buttonType, isSelected)];
|
||||
[titles addObject:title];
|
||||
else
|
||||
NSAssert(false, @"Title can't be nil!");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue