Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Oct 2, 2017
1 parent 7e3d569 commit 92199a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/AMBTableViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ typedef NSString * (^AMBTableViewSectionTitleBlock)(AMBTableViewSection * sectio

/// A block where any aspect of the section can be changed and rows can set to be shown/hidden,
/// reloaded, etc.
/// @param The section to be updated.
/// @param section The section to be updated.
typedef void (^AMBTableViewSectionUpdateBlock) (AMBTableViewSection * section);

/// Calculate the height of the cell corresponding to a given section object.
Expand Down
2 changes: 1 addition & 1 deletion Source/AMBTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ - (NSString *)description

- (void)setObjects:(NSArray *)objects
{
_mutableObjects = [NSMutableArray arrayWithArray:objects];
_mutableObjects = objects ? [NSMutableArray arrayWithArray:objects] : [NSMutableArray new];
_hiddenObjectsMutableIndexSet = [NSMutableIndexSet indexSet];
[self updateVisibleObjects];

Expand Down

0 comments on commit 92199a0

Please sign in to comment.